pub struct Nat(/* private fields */);Expand description
Natural numbers, i.e., integers that are greater or equal to 0.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nat
impl RefUnwindSafe for Nat
impl Send for Nat
impl Sync for Nat
impl Unpin for Nat
impl UnsafeUnpin for Nat
impl UnwindSafe for Nat
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