#[repr(C)]pub struct FbBitfield {
pub offset: u32,
pub length: u32,
pub msb_right: u32,
}Expand description
Bitfield information for color components
Fields§
§offset: u32Beginning of bitfield (LSB is 0)
length: u32Length of bitfield
msb_right: u32MSB position (0 = MSB is rightmost)
Trait Implementations§
Source§impl Clone for FbBitfield
impl Clone for FbBitfield
Source§fn clone(&self) -> FbBitfield
fn clone(&self) -> FbBitfield
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FbBitfield
impl Debug for FbBitfield
Source§impl Default for FbBitfield
impl Default for FbBitfield
impl Copy for FbBitfield
Auto Trait Implementations§
impl Freeze for FbBitfield
impl RefUnwindSafe for FbBitfield
impl Send for FbBitfield
impl Sync for FbBitfield
impl Unpin for FbBitfield
impl UnwindSafe for FbBitfield
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)