pub struct WidePlanes<'a>(pub Vec<&'a [u16]>);Available on crate feature
encoder only.Expand description
Sixteen-bit planes held in memory, in axis order.
Tuple Fields§
§0: Vec<&'a [u16]>Trait Implementations§
Source§impl WideCodes for WidePlanes<'_>
impl WideCodes for WidePlanes<'_>
Source§fn frame_count(&self) -> usize
fn frame_count(&self) -> usize
The planes on the axis.
Source§fn plane_length(&self, frame: usize) -> usize
fn plane_length(&self, frame: usize) -> usize
The codes one plane holds,
width * height on its grid.Auto Trait Implementations§
impl<'a> Forget for WidePlanes<'a>
impl<'a> Freeze for WidePlanes<'a>
impl<'a> Move for WidePlanes<'a>
impl<'a> RefUnwindSafe for WidePlanes<'a>
impl<'a> Send for WidePlanes<'a>
impl<'a> Sync for WidePlanes<'a>where
RawVecInner: Sync,
impl<'a> Unpin for WidePlanes<'a>
impl<'a> UnsafeUnpin for WidePlanes<'a>
impl<'a> UnwindSafe for WidePlanes<'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
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