pub struct MaskRle {
pub width: usize,
pub height: usize,
pub order: RleOrder,
pub counts: Vec<usize>,
}Expand description
Alternating zero/one run lengths, always beginning with a zero run.
Fields§
§width: usizeMask width.
height: usizeMask height.
order: RleOrderLinearization order.
counts: Vec<usize>Alternating zero and one run lengths.
Trait Implementations§
impl Eq for MaskRle
impl StructuralPartialEq for MaskRle
Auto Trait Implementations§
impl Freeze for MaskRle
impl RefUnwindSafe for MaskRle
impl Send for MaskRle
impl Sync for MaskRle
impl Unpin for MaskRle
impl UnsafeUnpin for MaskRle
impl UnwindSafe for MaskRle
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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