pub struct YuvGrayImageMut<'a, T>{
pub y_plane: BufferStoreMut<'a, T>,
pub y_stride: u32,
pub width: u32,
pub height: u32,
}Expand description
Represents YUV gray mutable image
Fields§
§y_plane: BufferStoreMut<'a, T>§y_stride: u32Stride here always means components per row.
width: u32§height: u32Implementations§
Source§impl<'a, T> YuvGrayImageMut<'a, T>
impl<'a, T> YuvGrayImageMut<'a, T>
pub fn check_constraints(&self) -> Result<(), YuvError>
pub fn to_fixed(&'a self) -> YuvGrayImage<'a, T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for YuvGrayImageMut<'a, T>
impl<'a, T> RefUnwindSafe for YuvGrayImageMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for YuvGrayImageMut<'a, T>where
T: Send,
impl<'a, T> Sync for YuvGrayImageMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for YuvGrayImageMut<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for YuvGrayImageMut<'a, T>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more