pub enum Endianness {
Native,
Little,
Big,
}
Expand description
Endianness to use during encoding/decoding
Variants§
Trait Implementations§
Source§impl Clone for Endianness
impl Clone for Endianness
Source§fn clone(&self) -> Endianness
fn clone(&self) -> Endianness
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 Endianness
impl Debug for Endianness
Source§impl Decoder<Endianness> for f32
impl Decoder<Endianness> for f32
Source§impl Decoder<Endianness> for f64
impl Decoder<Endianness> for f64
Source§impl Decoder<Endianness> for i128
impl Decoder<Endianness> for i128
Source§impl Decoder<Endianness> for i16
impl Decoder<Endianness> for i16
Source§impl Decoder<Endianness> for i32
impl Decoder<Endianness> for i32
Source§impl Decoder<Endianness> for i64
impl Decoder<Endianness> for i64
Source§impl Decoder<Endianness> for i8
impl Decoder<Endianness> for i8
Source§impl Decoder<Endianness> for isize
impl Decoder<Endianness> for isize
Source§impl Decoder<Endianness> for u128
impl Decoder<Endianness> for u128
Source§impl Decoder<Endianness> for u16
impl Decoder<Endianness> for u16
Source§impl Decoder<Endianness> for u32
impl Decoder<Endianness> for u32
Source§impl Decoder<Endianness> for u64
impl Decoder<Endianness> for u64
Source§impl Decoder<Endianness> for u8
impl Decoder<Endianness> for u8
Source§impl Decoder<Endianness> for usize
impl Decoder<Endianness> for usize
Source§impl Encoder<Endianness> for f32
impl Encoder<Endianness> for f32
Source§impl Encoder<Endianness> for f64
impl Encoder<Endianness> for f64
Source§impl Encoder<Endianness> for i128
impl Encoder<Endianness> for i128
Source§impl Encoder<Endianness> for i16
impl Encoder<Endianness> for i16
Source§impl Encoder<Endianness> for i32
impl Encoder<Endianness> for i32
Source§impl Encoder<Endianness> for i64
impl Encoder<Endianness> for i64
Source§impl Encoder<Endianness> for i8
impl Encoder<Endianness> for i8
Source§impl Encoder<Endianness> for isize
impl Encoder<Endianness> for isize
Source§impl Encoder<Endianness> for u128
impl Encoder<Endianness> for u128
Source§impl Encoder<Endianness> for u16
impl Encoder<Endianness> for u16
Source§impl Encoder<Endianness> for u32
impl Encoder<Endianness> for u32
Source§impl Encoder<Endianness> for u64
impl Encoder<Endianness> for u64
Source§impl Encoder<Endianness> for u8
impl Encoder<Endianness> for u8
Source§impl Encoder<Endianness> for usize
impl Encoder<Endianness> for usize
impl Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)