pub struct RangeEngine<L> { /* private fields */ }Expand description
Copies all bytes within the bounds of a layout.
This strategy will do a single copy, of the appropriate type for the targets buffer type, to transfer all the raw byte data of the image. This is optimal if the layout is supposed to be the first or only plane and does not contain any other internal padding buffers either.
Trait Implementations§
impl<L: Layout> LayoutEngine for RangeEngine<L>
Auto Trait Implementations§
impl<L> Freeze for RangeEngine<L>where
L: Freeze,
impl<L> RefUnwindSafe for RangeEngine<L>where
L: RefUnwindSafe,
impl<L> Send for RangeEngine<L>where
L: Send,
impl<L> Sync for RangeEngine<L>where
L: Sync,
impl<L> Unpin for RangeEngine<L>where
L: Unpin,
impl<L> UnsafeUnpin for RangeEngine<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for RangeEngine<L>where
L: UnwindSafe,
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