pub struct StoreVariable<'a> {
pub id: String,
pub previous: bool,
pub planes: Vec<&'a [u8]>,
}Available on crate feature
encoder only.Expand description
One variable’s codes: its planes in axis order, each width * height.
Fields§
§id: String§previous: boolStored as residuals against the previous frame in the container
(previous), or not (raw).
planes: Vec<&'a [u8]>Auto Trait Implementations§
impl<'a> Forget for StoreVariable<'a>
impl<'a> Freeze for StoreVariable<'a>
impl<'a> Move for StoreVariable<'a>
impl<'a> RefUnwindSafe for StoreVariable<'a>
impl<'a> Send for StoreVariable<'a>
impl<'a> Sync for StoreVariable<'a>where
RawVecInner: Sync,
impl<'a> Unpin for StoreVariable<'a>
impl<'a> UnsafeUnpin for StoreVariable<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<&'a [u8]>: UnsafeUnpin,
impl<'a> UnwindSafe for StoreVariable<'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