pub enum JxlBitDepth {
Int {
bits_per_sample: u32,
},
Float {
bits_per_sample: u32,
exponent_bits_per_sample: u32,
},
}Variants§
Implementations§
Source§impl JxlBitDepth
impl JxlBitDepth
pub fn bits_per_sample(&self) -> u32
Trait Implementations§
Source§impl Clone for JxlBitDepth
impl Clone for JxlBitDepth
Source§fn clone(&self) -> JxlBitDepth
fn clone(&self) -> JxlBitDepth
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 JxlBitDepth
impl Debug for JxlBitDepth
Source§impl PartialEq for JxlBitDepth
impl PartialEq for JxlBitDepth
impl Eq for JxlBitDepth
impl StructuralPartialEq for JxlBitDepth
Auto Trait Implementations§
impl Freeze for JxlBitDepth
impl RefUnwindSafe for JxlBitDepth
impl Send for JxlBitDepth
impl Sync for JxlBitDepth
impl Unpin for JxlBitDepth
impl UnsafeUnpin for JxlBitDepth
impl UnwindSafe for JxlBitDepth
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