pub struct Buffer2D {
pub ptr: NonNull<u8>,
pub format: PixelFormat,
pub stride: u16,
pub width: u16,
pub height: u16,
}Expand description
DMA2D Buffer
Fields§
§ptr: NonNull<u8>Buffer base pointer
format: PixelFormatPixel format of the buffer
stride: u16Line stride of the buffer
width: u16Width of the buffer
height: u16Height of the buffer
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Buffer2D
impl RefUnwindSafe for Buffer2D
impl !Send for Buffer2D
impl !Sync for Buffer2D
impl Unpin for Buffer2D
impl UnwindSafe for Buffer2D
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