pub struct SourcePlane<'a> {
pub bytes: &'a [u8],
pub stride: u32,
}Expand description
One borrowed source plane: rows stride bytes apart.
Fields§
§bytes: &'a [u8]Plane bytes including row padding.
stride: u32Bytes between adjacent rows.
Trait Implementations§
Source§impl<'a> Clone for SourcePlane<'a>
impl<'a> Clone for SourcePlane<'a>
impl<'a> Copy for SourcePlane<'a>
Auto Trait Implementations§
impl<'a> Freeze for SourcePlane<'a>
impl<'a> RefUnwindSafe for SourcePlane<'a>
impl<'a> Send for SourcePlane<'a>
impl<'a> Sync for SourcePlane<'a>
impl<'a> Unpin for SourcePlane<'a>
impl<'a> UnsafeUnpin for SourcePlane<'a>
impl<'a> UnwindSafe for SourcePlane<'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