pub struct StepCount(/* private fields */);Expand description
Number of computation steps (rows = steps + 1).
§Examples
use machine_cat::StepCount;
let steps = StepCount::new(7);
assert_eq!(steps.count(), 7);Implementations§
Trait Implementations§
impl Copy for StepCount
impl Eq for StepCount
impl StructuralPartialEq for StepCount
Auto Trait Implementations§
impl Freeze for StepCount
impl RefUnwindSafe for StepCount
impl Send for StepCount
impl Sync for StepCount
impl Unpin for StepCount
impl UnsafeUnpin for StepCount
impl UnwindSafe for StepCount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more