pub struct Fin<const MAX: u32>(/* private fields */);Expand description
Bounded integer within the range [0, MAX).
Implementations§
Trait Implementations§
impl<const MAX: u32> Copy for Fin<MAX>
impl<const MAX: u32> Eq for Fin<MAX>
impl<const MAX: u32> StructuralPartialEq for Fin<MAX>
Auto Trait Implementations§
impl<const MAX: u32> Freeze for Fin<MAX>
impl<const MAX: u32> RefUnwindSafe for Fin<MAX>
impl<const MAX: u32> Send for Fin<MAX>
impl<const MAX: u32> Sync for Fin<MAX>
impl<const MAX: u32> Unpin for Fin<MAX>
impl<const MAX: u32> UnwindSafe for Fin<MAX>
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