#[non_exhaustive]pub enum Endianness {
Little,
Big,
}Expand description
Endianness of a Configuration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Eq for Endianness
Source§impl PartialEq for Endianness
impl PartialEq for Endianness
Source§fn eq(&self, other: &Endianness) -> bool
fn eq(&self, other: &Endianness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Endianness
Auto Trait Implementations§
impl Freeze for Endianness
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnsafeUnpin for Endianness
impl UnwindSafe for Endianness
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