Enum packed_encoder::encoder::EncodeOrder
source · [−]pub enum EncodeOrder {
Big,
Little,
}
Expand description
EncodeOrder
is used to specify the endian order signed and unsigned integers while encoding.
Example: EncodeOrder::Big
is used to specify that all the integers should be ordered according to Big-Endian byte ordering.
Variants
Big
Little
Trait Implementations
sourceimpl Clone for EncodeOrder
impl Clone for EncodeOrder
sourcefn clone(&self) -> EncodeOrder
fn clone(&self) -> EncodeOrder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for EncodeOrder
impl Send for EncodeOrder
impl Sync for EncodeOrder
impl Unpin for EncodeOrder
impl UnwindSafe for EncodeOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more