pub struct LercOptions {
pub max_z_error: f64,
pub additional_compression: LercAdditionalCompression,
}Expand description
LERC encoding options for the TIFF writer.
Controls the LERC2 error tolerance and optional additional compression applied to the encoded LERC blob before storage in the TIFF block.
Fields§
§max_z_error: f64Maximum encoding error per sample value. Set to 0.0 for lossless.
additional_compression: LercAdditionalCompressionOptional additional compression applied to the LERC blob.
Trait Implementations§
Source§impl Clone for LercOptions
impl Clone for LercOptions
Source§fn clone(&self) -> LercOptions
fn clone(&self) -> LercOptions
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 LercOptions
impl Debug for LercOptions
Source§impl Default for LercOptions
impl Default for LercOptions
Source§impl PartialEq for LercOptions
impl PartialEq for LercOptions
impl Copy for LercOptions
impl StructuralPartialEq for LercOptions
Auto Trait Implementations§
impl Freeze for LercOptions
impl RefUnwindSafe for LercOptions
impl Send for LercOptions
impl Sync for LercOptions
impl Unpin for LercOptions
impl UnsafeUnpin for LercOptions
impl UnwindSafe for LercOptions
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