Struct Lzw

pub struct Lzw;

The LZW algorithm used to compress image data in TIFF files.

Trait Implementations

impl Clone for Lzw

fn clone(&self) -> Self

impl Compression for Lzw

const COMPRESSION_METHOD: CompressionMethod = CompressionMethod::LZW;
fn get_algorithm(&self) -> Compressor

impl CompressionAlgorithm for Lzw

fn write_to<W: Write>(&mut self, writer: &mut W, bytes: &[u8]) -> Result<u64, Error>

impl Copy for Lzw

impl Debug for Lzw

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for Lzw

fn default() -> Self

impl Eq for Lzw

impl PartialEq for Lzw

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Lzw

Auto Trait Implementations

impl Freeze for Lzw

impl RefUnwindSafe for Lzw

impl Send for Lzw

impl Sync for Lzw

impl Unpin for Lzw

impl UnsafeUnpin for Lzw

impl UnwindSafe for Lzw

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for Lzw where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for Lzw where ST: ?Sized, DT: ?Sized,

impl<T> Any for Lzw where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Lzw where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Lzw where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Lzw where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Lzw

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for Lzw where T: ?Sized,

impl<T> ToOwned for Lzw where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Lzw where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Lzw where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Lzw where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>