#[repr(u8)]pub enum PixShift {
_0 = 0,
_1 = 1,
_2 = 2,
_4 = 3,
_8 = 4,
_16 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
_0 = 0
Do not shift the colour data register.
_1 = 1
Shift the colour data register by 1 bit
_2 = 2
Shift the colour data register by 2 bits
_4 = 3
Shift the colour data register by 4 bits
_8 = 4
Shift the colour data register by 8 bits
_16 = 5
Shift the colour data register by 16 bits
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
source§impl Ord for PixShift
impl Ord for PixShift
source§impl PartialOrd for PixShift
impl PartialOrd for PixShift
impl Copy for PixShift
impl Eq for PixShift
impl StructuralPartialEq for PixShift
Auto Trait Implementations§
impl Freeze for PixShift
impl RefUnwindSafe for PixShift
impl Send for PixShift
impl Sync for PixShift
impl Unpin for PixShift
impl UnwindSafe for PixShift
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)