pub enum EBCCResidualType {
Jpeg2000Only,
AbsoluteError(f32),
RelativeError(f32),
}Expand description
Residual compression types supported by EBCC.
Variants§
Jpeg2000Only
No residual compression - base JPEG2000 only
AbsoluteError(f32)
Residual compression with absolute maximum error bound
RelativeError(f32)
Residual compression with relative error bound
Trait Implementations§
Source§impl Clone for EBCCResidualType
impl Clone for EBCCResidualType
Source§fn clone(&self) -> EBCCResidualType
fn clone(&self) -> EBCCResidualType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EBCCResidualType
Source§impl Debug for EBCCResidualType
impl Debug for EBCCResidualType
Source§impl PartialEq for EBCCResidualType
impl PartialEq for EBCCResidualType
Source§fn eq(&self, other: &EBCCResidualType) -> bool
fn eq(&self, other: &EBCCResidualType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EBCCResidualType
Auto Trait Implementations§
impl Freeze for EBCCResidualType
impl RefUnwindSafe for EBCCResidualType
impl Send for EBCCResidualType
impl Sync for EBCCResidualType
impl Unpin for EBCCResidualType
impl UnsafeUnpin for EBCCResidualType
impl UnwindSafe for EBCCResidualType
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