pub struct BitDepth {
pub float_sample: bool,
pub bits_per_sample: u32,
pub exponent_bits: u32,
}Expand description
Bit depth specification.
Fields§
§float_sample: boolTrue if floating point, false if integer.
bits_per_sample: u32Bits per sample (for integer) or exponent bits (for float).
exponent_bits: u32Exponent bits for floating point samples.
Implementations§
Trait Implementations§
impl Copy for BitDepth
Auto Trait Implementations§
impl Freeze for BitDepth
impl RefUnwindSafe for BitDepth
impl Send for BitDepth
impl Sync for BitDepth
impl Unpin for BitDepth
impl UnwindSafe for BitDepth
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