pub struct PrefixCodeGroup {
pub green: PrefixCode,
pub red: PrefixCode,
pub blue: PrefixCode,
pub alpha: PrefixCode,
pub distance: PrefixCode,
}Expand description
The five canonical codes used to decode a pixel (RFC 9649 §3.7.1).
Fields§
§green: PrefixCodeGreen channel, LZ77 lengths, and color-cache indices.
red: PrefixCodeRed channel.
blue: PrefixCodeBlue channel.
alpha: PrefixCodeAlpha channel.
distance: PrefixCodeLZ77 distance codes.
Trait Implementations§
Source§impl Clone for PrefixCodeGroup
impl Clone for PrefixCodeGroup
Source§fn clone(&self) -> PrefixCodeGroup
fn clone(&self) -> PrefixCodeGroup
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 moreAuto Trait Implementations§
impl Freeze for PrefixCodeGroup
impl RefUnwindSafe for PrefixCodeGroup
impl Send for PrefixCodeGroup
impl Sync for PrefixCodeGroup
impl Unpin for PrefixCodeGroup
impl UnsafeUnpin for PrefixCodeGroup
impl UnwindSafe for PrefixCodeGroup
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