pub struct Region2D {
pub ptr: NonNull<u8>,
pub line_offset: u16,
pub pixels_per_line: u16,
pub lines: u16,
/* private fields */
}Expand description
DMA2D Region of a Buffer2D
Fields§
§ptr: NonNull<u8>Pointer to the first pixel of the region
line_offset: u16Number of pixels to skip after each line
pixels_per_line: u16Number of pixels per line
lines: u16Number of lines
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Region2D
impl RefUnwindSafe for Region2D
impl !Send for Region2D
impl !Sync for Region2D
impl Unpin for Region2D
impl UnwindSafe for Region2D
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