Enum packed_encoder::decoder::DecodeOrder
source · [−]pub enum DecodeOrder {
Big,
Little,
}
Expand description
DecodeOrder
is used to specify how signed and unsigned integers encoded as bytes must be assumed w.r.t byte-order for decoding.
Example DecodeOrder::Little
assumes all the bytes to be decoded are in little endian byte order.
Variants
Big
Big endian byte ordering
Little
Little endian byte ordering
Trait Implementations
sourceimpl Clone for DecodeOrder
impl Clone for DecodeOrder
sourcefn clone(&self) -> DecodeOrder
fn clone(&self) -> DecodeOrder
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 DecodeOrder
impl Send for DecodeOrder
impl Sync for DecodeOrder
impl Unpin for DecodeOrder
impl UnwindSafe for DecodeOrder
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