Struct stm32_metapac::dsihost::regs::Lcolcr
#[repr(transparent)]pub struct Lcolcr(pub u32);
Expand description
DSI Host LTDC color coding register.
Tuple Fields§
§0: u32
Implementations§
§impl Lcolcr
impl Lcolcr
pub const fn colc(&self) -> u8
pub const fn colc(&self) -> u8
Color coding This field configures the DPI color coding. Others: Reserved.
pub fn set_colc(&mut self, val: u8)
pub fn set_colc(&mut self, val: u8)
Color coding This field configures the DPI color coding. Others: Reserved.
Trait Implementations§
impl Copy for Lcolcr
impl Eq for Lcolcr
impl StructuralPartialEq for Lcolcr
Auto Trait Implementations§
impl Freeze for Lcolcr
impl RefUnwindSafe for Lcolcr
impl Send for Lcolcr
impl Sync for Lcolcr
impl Unpin for Lcolcr
impl UnwindSafe for Lcolcr
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
)