Struct linuxfb::PixelLayoutChannel
source · pub struct PixelLayoutChannel {
pub offset: u32,
pub length: u32,
pub msb_right: bool,
}
Fields§
§offset: u32
Start of data, in bits
length: u32
Size of data, in bits
msb_right: bool
When true, the most significant bit is on the right.
Trait Implementations§
source§impl Clone for PixelLayoutChannel
impl Clone for PixelLayoutChannel
source§fn clone(&self) -> PixelLayoutChannel
fn clone(&self) -> PixelLayoutChannel
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 PixelLayoutChannel
impl Debug for PixelLayoutChannel
source§impl PartialEq<PixelLayoutChannel> for PixelLayoutChannel
impl PartialEq<PixelLayoutChannel> for PixelLayoutChannel
source§fn eq(&self, other: &PixelLayoutChannel) -> bool
fn eq(&self, other: &PixelLayoutChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PixelLayoutChannel
Auto Trait Implementations§
impl RefUnwindSafe for PixelLayoutChannel
impl Send for PixelLayoutChannel
impl Sync for PixelLayoutChannel
impl Unpin for PixelLayoutChannel
impl UnwindSafe for PixelLayoutChannel
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