pub struct DecodedLayer {
pub pixels: Vec<u8>,
pub tag: Option<u8>,
}Expand description
A decoded layer mask.
Fields§
§pixels: Vec<u8>One byte per pixel, in row-major order, total_pixels long.
tag: Option<u8>The tag the stream carried, or None for the empty-layer form.
Implementations§
Source§impl DecodedLayer
impl DecodedLayer
Trait Implementations§
Source§impl Clone for DecodedLayer
impl Clone for DecodedLayer
Source§fn clone(&self) -> DecodedLayer
fn clone(&self) -> DecodedLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodedLayer
impl Debug for DecodedLayer
impl Eq for DecodedLayer
Source§impl PartialEq for DecodedLayer
impl PartialEq for DecodedLayer
impl StructuralPartialEq for DecodedLayer
Auto Trait Implementations§
impl Freeze for DecodedLayer
impl RefUnwindSafe for DecodedLayer
impl Send for DecodedLayer
impl Sync for DecodedLayer
impl Unpin for DecodedLayer
impl UnsafeUnpin for DecodedLayer
impl UnwindSafe for DecodedLayer
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