Struct stm32_metapac::ltdc::regs::Dccr
#[repr(transparent)]pub struct Dccr(pub u32);
Expand description
Layerx Default Color Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl Dccr
impl Dccr
pub fn set_dcblue(&mut self, val: u8)
pub fn set_dcblue(&mut self, val: u8)
Default Color Blue
pub fn set_dcgreen(&mut self, val: u8)
pub fn set_dcgreen(&mut self, val: u8)
Default Color Green
pub fn set_dcalpha(&mut self, val: u8)
pub fn set_dcalpha(&mut self, val: u8)
Default Color Alpha
Trait Implementations§
impl Copy for Dccr
impl Eq for Dccr
impl StructuralPartialEq for Dccr
Auto Trait Implementations§
impl Freeze for Dccr
impl RefUnwindSafe for Dccr
impl Send for Dccr
impl Sync for Dccr
impl Unpin for Dccr
impl UnwindSafe for Dccr
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
)