pub struct Udiff16(/* private fields */);
Expand description
A u16 that is also in the value range of an isize.
Implementations§
Trait Implementations§
source§impl Ord for Udiff16
impl Ord for Udiff16
source§impl PartialEq<Udiff16> for isize
impl PartialEq<Udiff16> for isize
source§impl PartialEq<Udiff16> for u16
impl PartialEq<Udiff16> for u16
source§impl PartialEq<isize> for Udiff16
impl PartialEq<isize> for Udiff16
source§impl PartialEq for Udiff16
impl PartialEq for Udiff16
source§impl PartialOrd<Udiff16> for isize
impl PartialOrd<Udiff16> for isize
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<Udiff16> for u16
impl PartialOrd<Udiff16> 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<isize> for Udiff16
impl PartialOrd<isize> for Udiff16
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 Udiff16
impl PartialOrd<u16> for Udiff16
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 Udiff16
impl PartialOrd for Udiff16
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 Udiff16
impl Eq for Udiff16
impl StructuralEq for Udiff16
impl StructuralPartialEq for Udiff16
Auto Trait Implementations§
impl RefUnwindSafe for Udiff16
impl Send for Udiff16
impl Sync for Udiff16
impl Unpin for Udiff16
impl UnwindSafe for Udiff16
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