pub struct Umem16(/* private fields */);
Expand description
A u16 that is also in the value range of a usize.
Implementations§
Trait Implementations§
source§impl Ord for Umem16
impl Ord for Umem16
source§impl PartialEq<Umem16> for u16
impl PartialEq<Umem16> for u16
source§impl PartialEq<Umem16> for usize
impl PartialEq<Umem16> for usize
source§impl PartialEq<usize> for Umem16
impl PartialEq<usize> for Umem16
source§impl PartialEq for Umem16
impl PartialEq for Umem16
source§impl PartialOrd<Umem16> for u16
impl PartialOrd<Umem16> for u16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<Umem16> for usize
impl PartialOrd<Umem16> for usize
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<u16> for Umem16
impl PartialOrd<u16> for Umem16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<usize> for Umem16
impl PartialOrd<usize> for Umem16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd for Umem16
impl PartialOrd for Umem16
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Umem16
impl Eq for Umem16
impl StructuralEq for Umem16
impl StructuralPartialEq for Umem16
Auto Trait Implementations§
impl RefUnwindSafe for Umem16
impl Send for Umem16
impl Sync for Umem16
impl Unpin for Umem16
impl UnwindSafe for Umem16
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