Struct Fgcolr
#[repr(transparent)]pub struct Fgcolr(pub u32);
Expand description
DMA2D foreground color register
Tuple Fields§
§0: u32
Implementations§
§impl Fgcolr
impl Fgcolr
pub const fn blue(&self) -> u8
pub const fn blue(&self) -> u8
Blue Value These bits defines the blue value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only.
pub fn set_blue(&mut self, val: u8)
pub fn set_blue(&mut self, val: u8)
Blue Value These bits defines the blue value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only.
pub const fn green(&self) -> u8
pub const fn green(&self) -> u8
Green Value These bits defines the green value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only.
pub fn set_green(&mut self, val: u8)
pub fn set_green(&mut self, val: u8)
Green Value These bits defines the green value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only.
Trait Implementations§
impl Copy for Fgcolr
impl Eq for Fgcolr
impl StructuralPartialEq for Fgcolr
Auto Trait Implementations§
impl Freeze for Fgcolr
impl RefUnwindSafe for Fgcolr
impl Send for Fgcolr
impl Sync for Fgcolr
impl Unpin for Fgcolr
impl UnwindSafe for Fgcolr
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
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)
clone_to_uninit
)