... Swain also appeals his conviction for indirect criminal contempt arising from his failure to comply
with the district court's order requiring him, as a condition of probation, to attend and complete
an inpatient substance abuse treatment program. ... [1]. Criminal Contempt Conviction. ...
... our decision in Halbleib v. State, 7 P.3d 45, 49 (Wyo.2000), contends that Mr. Jackson was not
entitled to any credit against his original sentence because the incarceration pending probation
revocation proceedings was not "directly attributable" to the underlying criminal charge ...
... Heywood v. State, 2007 WY 149, ¶ 26, 170 P.3d 1227, 1234 (Wyo. 2007). [¶ 10] Nevertheless,
we have also stated that the trial court commits a fundamental error, and reversal is required,
when it fails to give an instruction on an essential element of a criminal offense. ...