pub enum Endian {
big,
little,
}
Expand description
The endian types known to rustc
Variants§
Trait Implementations§
source§impl Ord for Endian
impl Ord for Endian
source§impl PartialEq for Endian
impl PartialEq for Endian
source§impl PartialOrd for Endian
impl PartialOrd for Endian
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 Endian
impl Eq for Endian
impl StructuralPartialEq for Endian
Auto Trait Implementations§
impl Freeze for Endian
impl RefUnwindSafe for Endian
impl Send for Endian
impl Sync for Endian
impl Unpin for Endian
impl UnwindSafe for Endian
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