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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)