Enum binrw::meta::EndianKind
source · pub enum EndianKind {
None,
Endian(Endian),
Runtime,
Mixed,
}
Expand description
The kind of endianness used by a type.
Variants§
None
The type has no endianness at all.
Endian(Endian)
The type uses a fixed endianness.
Runtime
The type uses an endianness that is dynamically determined at runtime from an expression.
Mixed
The type uses a heterogenous mix of endianness.
Implementations§
Trait Implementations§
source§impl Clone for EndianKind
impl Clone for EndianKind
source§fn clone(&self) -> EndianKind
fn clone(&self) -> EndianKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EndianKind
impl Debug for EndianKind
source§impl PartialEq for EndianKind
impl PartialEq for EndianKind
impl Copy for EndianKind
impl Eq for EndianKind
impl StructuralPartialEq for EndianKind
Auto Trait Implementations§
impl Freeze for EndianKind
impl RefUnwindSafe for EndianKind
impl Send for EndianKind
impl Sync for EndianKind
impl Unpin for EndianKind
impl UnwindSafe for EndianKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)