pub enum AlphaCompression {
NoCompression = 0,
WebPLossless = 1,
}Expand description
Alpha compression method.
Variants§
NoCompression = 0
Raw (uncompressed) alpha data.
WebPLossless = 1
Alpha data encoded as a VP8L (WebP lossless) bitstream.
Trait Implementations§
Source§impl Clone for AlphaCompression
impl Clone for AlphaCompression
Source§fn clone(&self) -> AlphaCompression
fn clone(&self) -> AlphaCompression
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 AlphaCompression
impl Debug for AlphaCompression
Source§impl PartialEq for AlphaCompression
impl PartialEq for AlphaCompression
impl Copy for AlphaCompression
impl Eq for AlphaCompression
impl StructuralPartialEq for AlphaCompression
Auto Trait Implementations§
impl Freeze for AlphaCompression
impl RefUnwindSafe for AlphaCompression
impl Send for AlphaCompression
impl Sync for AlphaCompression
impl Unpin for AlphaCompression
impl UnsafeUnpin for AlphaCompression
impl UnwindSafe for AlphaCompression
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<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