Struct Huffenc
#[repr(transparent)]pub struct Huffenc(pub u32);Expand description
JPEG Huffman encoder memory
Tuple Fields§
§0: u32Implementations§
§impl Huffenc
impl Huffenc
pub const fn hcode(&self, n: usize) -> u8
pub const fn hcode(&self, n: usize) -> u8
Huffman code {2*y+n}: 8 least significant bits of the Huffman code
pub const fn set_hcode(&mut self, n: usize, val: u8)
pub const fn set_hcode(&mut self, n: usize, val: u8)
Huffman code {2*y+n}: 8 least significant bits of the Huffman code
Trait Implementations§
impl Copy for Huffenc
impl Eq for Huffenc
impl StructuralPartialEq for Huffenc
Auto Trait Implementations§
impl Freeze for Huffenc
impl RefUnwindSafe for Huffenc
impl Send for Huffenc
impl Sync for Huffenc
impl Unpin for Huffenc
impl UnsafeUnpin for Huffenc
impl UnwindSafe for Huffenc
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