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