Struct Gpu2d
pub struct Gpu2d { /* private fields */ }Expand description
2D graphics accelerator.
Implementations§
§impl Gpu2d
impl Gpu2d
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn breakpoint(self) -> Reg<Breakpoint, RW>
pub const fn breakpoint(self) -> Reg<Breakpoint, RW>
Breakpoint register.
pub const fn sys_interrupt(self) -> Reg<SysInterrupt, RW>
pub const fn sys_interrupt(self) -> Reg<SysInterrupt, RW>
System interrupt register.
Trait Implementations§
impl Copy for Gpu2d
impl Eq for Gpu2d
impl Send for Gpu2d
impl StructuralPartialEq for Gpu2d
impl Sync for Gpu2d
Auto Trait Implementations§
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