pub struct Usize(/* private fields */);Expand description
Length-type with underlying usize.
Trait Implementations§
Source§impl AddAssign<usize> for Usize
impl AddAssign<usize> for Usize
Source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+= operation. Read moreSource§impl Ord for Usize
impl Ord for Usize
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd<usize> for Usize
impl PartialOrd<usize> for Usize
Source§impl PartialOrd for Usize
impl PartialOrd for Usize
Source§impl SubAssign<usize> for Usize
impl SubAssign<usize> for Usize
Source§fn sub_assign(&mut self, rhs: usize)
fn sub_assign(&mut self, rhs: usize)
Performs the
-= operation. Read moreimpl Copy for Usize
impl Eq for Usize
impl LengthType for Usize
impl StructuralPartialEq for Usize
Auto Trait Implementations§
impl Freeze for Usize
impl RefUnwindSafe for Usize
impl Send for Usize
impl Sync for Usize
impl Unpin for Usize
impl UnsafeUnpin for Usize
impl UnwindSafe for Usize
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