pub enum EncodeMode {
Lossy,
Lossless,
}Expand description
Encoding mode.
Variants§
Trait Implementations§
Source§impl Clone for EncodeMode
impl Clone for EncodeMode
Source§fn clone(&self) -> EncodeMode
fn clone(&self) -> EncodeMode
Returns a duplicate 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 EncodeMode
impl Debug for EncodeMode
Source§impl Default for EncodeMode
impl Default for EncodeMode
Source§fn default() -> EncodeMode
fn default() -> EncodeMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for EncodeMode
impl PartialEq for EncodeMode
impl Copy for EncodeMode
impl Eq for EncodeMode
impl StructuralPartialEq for EncodeMode
Auto Trait Implementations§
impl Freeze for EncodeMode
impl RefUnwindSafe for EncodeMode
impl Send for EncodeMode
impl Sync for EncodeMode
impl Unpin for EncodeMode
impl UnsafeUnpin for EncodeMode
impl UnwindSafe for EncodeMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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