Enum jxl_modular::ChannelShift
source · 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
source§fn eq(&self, other: &ChannelShift) -> bool
fn eq(&self, other: &ChannelShift) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ChannelShift
impl Eq for ChannelShift
impl StructuralPartialEq for ChannelShift
Auto Trait Implementations§
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