pub struct Source<'a> { /* private fields */ }Expand description
The source stage: an image’s Samples walked one row at a time.
A Samples::Whole arm borrows straight out of the decoded buffer, so it
owns no memory at all — except for Pixels::Stencil, whose bits have to
be widened into something a row can borrow. A Samples::Packed one owns
the Unpacked stage’s single row buffer, and nothing more.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Source<'a>
impl<'a> RefUnwindSafe for Source<'a>
impl<'a> Send for Source<'a>
impl<'a> Sync for Source<'a>
impl<'a> Unpin for Source<'a>
impl<'a> UnsafeUnpin for Source<'a>
impl<'a> UnwindSafe for Source<'a>
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