#[repr(transparent)]pub struct TransferCount(pub u32);Expand description
LCDIF Horizontal and Vertical Valid Data Count Register
Tuple Fields§
§0: u32Implementations§
Source§impl TransferCount
impl TransferCount
Sourcepub const fn set_h_count(&mut self, val: u16)
pub const fn set_h_count(&mut self, val: u16)
Total valid data (pixels) in each horizontal line
Sourcepub const fn v_count(&self) -> u16
pub const fn v_count(&self) -> u16
Number of horizontal lines per frame which contain valid data
Sourcepub const fn set_v_count(&mut self, val: u16)
pub const fn set_v_count(&mut self, val: u16)
Number of horizontal lines per frame which contain valid data
Trait Implementations§
Source§impl Clone for TransferCount
impl Clone for TransferCount
Source§fn clone(&self) -> TransferCount
fn clone(&self) -> TransferCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferCount
impl Debug for TransferCount
Source§impl Default for TransferCount
impl Default for TransferCount
Source§fn default() -> TransferCount
fn default() -> TransferCount
Returns the “default value” for a type. Read more
Source§impl PartialEq for TransferCount
impl PartialEq for TransferCount
impl Copy for TransferCount
impl Eq for TransferCount
impl StructuralPartialEq for TransferCount
Auto Trait Implementations§
impl Freeze for TransferCount
impl RefUnwindSafe for TransferCount
impl Send for TransferCount
impl Sync for TransferCount
impl Unpin for TransferCount
impl UnwindSafe for TransferCount
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