Enum jpeg_decoder::parser::EntropyCoding
source · pub enum EntropyCoding {
Huffman,
Arithmetic,
}
Variants§
Trait Implementations§
source§impl Clone for EntropyCoding
impl Clone for EntropyCoding
source§fn clone(&self) -> EntropyCoding
fn clone(&self) -> EntropyCoding
Returns a copy of the value. Read more
1.0.0 · 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 EntropyCoding
impl Debug for EntropyCoding
source§impl PartialEq for EntropyCoding
impl PartialEq for EntropyCoding
source§fn eq(&self, other: &EntropyCoding) -> bool
fn eq(&self, other: &EntropyCoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EntropyCoding
impl StructuralPartialEq for EntropyCoding
Auto Trait Implementations§
impl Freeze for EntropyCoding
impl RefUnwindSafe for EntropyCoding
impl Send for EntropyCoding
impl Sync for EntropyCoding
impl Unpin for EntropyCoding
impl UnwindSafe for EntropyCoding
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more