pub(crate) enum TransformType {
PredictorTransform {
size_bits: u8,
predictor_data: Vec<u8>,
},
ColorTransform {
size_bits: u8,
transform_data: Vec<u8>,
},
SubtractGreen,
ColorIndexingTransform {
table_size: u16,
table_data: Vec<u8>,
},
}
Variants§
Trait Implementations§
Source§impl Clone for TransformType
impl Clone for TransformType
Source§fn clone(&self) -> TransformType
fn clone(&self) -> TransformType
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 moreAuto Trait Implementations§
impl Freeze for TransformType
impl RefUnwindSafe for TransformType
impl Send for TransformType
impl Sync for TransformType
impl Unpin for TransformType
impl UnwindSafe for TransformType
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