pub enum ImageOrder {
LsbFirst,
MsbFirst,
}Expand description
Order in which bytes are stored in memory.
If the numberof bits per pixel is less than 8, then this is the order in which bits are packed into bytes.
Variants§
Trait Implementations§
Source§impl Clone for ImageOrder
impl Clone for ImageOrder
impl Copy for ImageOrder
Source§impl Debug for ImageOrder
impl Debug for ImageOrder
impl Eq for ImageOrder
Source§impl Hash for ImageOrder
impl Hash for ImageOrder
Source§impl PartialEq for ImageOrder
impl PartialEq for ImageOrder
impl StructuralPartialEq for ImageOrder
Source§impl TryFrom<ImageOrder> for ImageOrder
impl TryFrom<ImageOrder> for ImageOrder
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(value: XprotoImageOrder) -> Result<Self, ParseError>
fn try_from(value: XprotoImageOrder) -> Result<Self, ParseError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ImageOrder
impl RefUnwindSafe for ImageOrder
impl Send for ImageOrder
impl Sync for ImageOrder
impl Unpin for ImageOrder
impl UnsafeUnpin for ImageOrder
impl UnwindSafe for ImageOrder
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