pub struct LinearLayout { /* private fields */ }
Expand description
A linear buffer layout where each optionally strided pixel row of an image is saved sequentially into the buffer.
Implementations§
Trait Implementations§
Source§impl Debug for LinearLayout
impl Debug for LinearLayout
Source§impl Layout for LinearLayout
impl Layout for LinearLayout
Source§fn slices_per_tile(&self) -> usize
fn slices_per_tile(&self) -> usize
Number of buffer sub-slices that will be passes to
Layout::write
. Read moreSource§fn width_in_tiles(&self) -> usize
fn width_in_tiles(&self) -> usize
Width in tiles. Read more
Source§fn height_in_tiles(&self) -> usize
fn height_in_tiles(&self) -> usize
Height in tiles. Read more
Auto Trait Implementations§
impl Freeze for LinearLayout
impl RefUnwindSafe for LinearLayout
impl Send for LinearLayout
impl Sync for LinearLayout
impl Unpin for LinearLayout
impl !UnwindSafe for LinearLayout
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