pub struct ComponentPrecision {
pub bits: u8,
pub is_signed: bool,
}Expand description
Per-component precision information parsed from JP2/codestream headers.
Fields§
§bits: u8Bits per component (1-38 per spec).
is_signed: boolWhether the component values are signed.
Trait Implementations§
Source§impl Clone for ComponentPrecision
impl Clone for ComponentPrecision
Source§fn clone(&self) -> ComponentPrecision
fn clone(&self) -> ComponentPrecision
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 ComponentPrecision
impl Debug for ComponentPrecision
Source§impl PartialEq for ComponentPrecision
impl PartialEq for ComponentPrecision
impl Copy for ComponentPrecision
impl Eq for ComponentPrecision
impl StructuralPartialEq for ComponentPrecision
Auto Trait Implementations§
impl Freeze for ComponentPrecision
impl RefUnwindSafe for ComponentPrecision
impl Send for ComponentPrecision
impl Sync for ComponentPrecision
impl Unpin for ComponentPrecision
impl UnsafeUnpin for ComponentPrecision
impl UnwindSafe for ComponentPrecision
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