pub struct Lj92<'a, HuffLut> { /* private fields */ }Implementations§
Source§impl<'a, HuffLut> Lj92<'a, HuffLut>
impl<'a, HuffLut> Lj92<'a, HuffLut>
pub fn with_custom_lut(hufflut: HuffLut) -> Self
pub fn width(&self) -> u32
pub fn height(&self) -> u32
pub fn bitdepth(&self) -> u8
pub fn components(&self) -> u8
pub fn decode( &mut self, out: &'a mut [u16], skip_length: usize, linearize: Option<&[u16]>, ) -> Result<(), Lj92Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a, HuffLut> Freeze for Lj92<'a, HuffLut>where
HuffLut: Freeze,
impl<'a, HuffLut> RefUnwindSafe for Lj92<'a, HuffLut>where
HuffLut: RefUnwindSafe,
impl<'a, HuffLut> Send for Lj92<'a, HuffLut>where
HuffLut: Send,
impl<'a, HuffLut> Sync for Lj92<'a, HuffLut>where
HuffLut: Sync,
impl<'a, HuffLut> Unpin for Lj92<'a, HuffLut>where
HuffLut: Unpin,
impl<'a, HuffLut> UnsafeUnpin for Lj92<'a, HuffLut>where
HuffLut: UnsafeUnpin,
impl<'a, HuffLut> UnwindSafe for Lj92<'a, HuffLut>where
HuffLut: UnwindSafe,
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