#[repr(transparent)]pub struct PsScale(pub u32);Expand description
PS Scale Factor Register
Tuple Fields§
§0: u32Implementations§
Source§impl PsScale
impl PsScale
Sourcepub const fn xscale(&self) -> u16
pub const fn xscale(&self) -> u16
This is a two bit integer and 12 bit fractional representation (##
Sourcepub const fn set_xscale(&mut self, val: u16)
pub const fn set_xscale(&mut self, val: u16)
This is a two bit integer and 12 bit fractional representation (##
Sourcepub const fn yscale(&self) -> u16
pub const fn yscale(&self) -> u16
This is a two bit integer and 12 bit fractional representation (##
Sourcepub const fn set_yscale(&mut self, val: u16)
pub const fn set_yscale(&mut self, val: u16)
This is a two bit integer and 12 bit fractional representation (##
Trait Implementations§
impl Copy for PsScale
impl Eq for PsScale
impl StructuralPartialEq for PsScale
Auto Trait Implementations§
impl Freeze for PsScale
impl RefUnwindSafe for PsScale
impl Send for PsScale
impl Sync for PsScale
impl Unpin for PsScale
impl UnwindSafe for PsScale
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