Enum x11rb::image::ImageOrder
source · 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
source§fn clone(&self) -> ImageOrder
fn clone(&self) -> ImageOrder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageOrder
impl Debug for ImageOrder
source§impl Hash for ImageOrder
impl Hash for ImageOrder
source§impl PartialEq for ImageOrder
impl PartialEq for ImageOrder
source§fn eq(&self, other: &ImageOrder) -> bool
fn eq(&self, other: &ImageOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ImageOrder> for ImageOrder
impl TryFrom<ImageOrder> for ImageOrder
§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.
impl Copy for ImageOrder
impl Eq for ImageOrder
impl StructuralPartialEq for ImageOrder
Auto Trait Implementations§
impl Freeze for ImageOrder
impl RefUnwindSafe for ImageOrder
impl Send for ImageOrder
impl Sync for ImageOrder
impl Unpin 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