pub enum BitOrder {
LsbFirst,
MsbFirst,
}Expand description
Which end of a byte codes are packed from.
Variants§
LsbFirst
Least-significant bit first, as GIF packs codes.
MsbFirst
Most-significant bit first, as TIFF packs codes.
TIFF also widens the code one entry early; the two go together in
practice, so BitOrder selects both.
Trait Implementations§
impl Copy for BitOrder
impl Eq for BitOrder
impl StructuralPartialEq for BitOrder
Auto Trait Implementations§
impl Freeze for BitOrder
impl RefUnwindSafe for BitOrder
impl Send for BitOrder
impl Sync for BitOrder
impl Unpin for BitOrder
impl UnsafeUnpin for BitOrder
impl UnwindSafe for BitOrder
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