pub enum ByteFormat {
LittleEndian,
BigEndian,
NativeEndian,
}Expand description
How to serialize multibyte sequences (e.g. u128, i128, f64)
Variants§
LittleEndian
Little Endian format
BigEndian
Big Endian format
NativeEndian
Use the Native order NOTE: This may cause portability issues.
Trait Implementations§
Source§impl Debug for ByteFormat
impl Debug for ByteFormat
Source§impl PartialEq for ByteFormat
impl PartialEq for ByteFormat
impl StructuralPartialEq for ByteFormat
Auto Trait Implementations§
impl Freeze for ByteFormat
impl RefUnwindSafe for ByteFormat
impl Send for ByteFormat
impl Sync for ByteFormat
impl Unpin for ByteFormat
impl UnwindSafe for ByteFormat
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