pub enum ChannelShift {
JpegUpsampling {
has_h_subsample: bool,
h_subsample: bool,
has_v_subsample: bool,
v_subsample: bool,
},
Shifts(u32),
Raw(i32, i32),
}
Variants§
Implementations§
Source§impl ChannelShift
impl ChannelShift
Trait Implementations§
Source§impl Clone for ChannelShift
impl Clone for ChannelShift
Source§fn clone(&self) -> ChannelShift
fn clone(&self) -> ChannelShift
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 ChannelShift
impl Debug for ChannelShift
Source§impl PartialEq for ChannelShift
impl PartialEq for ChannelShift
impl Copy for ChannelShift
impl Eq for ChannelShift
impl StructuralPartialEq for ChannelShift
Auto Trait Implementations§
impl Freeze for ChannelShift
impl RefUnwindSafe for ChannelShift
impl Send for ChannelShift
impl Sync for ChannelShift
impl Unpin for ChannelShift
impl UnwindSafe for ChannelShift
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