Struct zarrs::array::codec::array_to_bytes::zfp::ZfpFixedAccuracyConfiguration
source · pub struct ZfpFixedAccuracyConfiguration {
pub tolerance: f64,
}
Available on crate feature
zfp
only.Expand description
The zfp
configuration for fixed accuracy mode.
Fields§
§tolerance: f64
The tolerance ensures that values in the decompressed array differ from the input array by no more than this tolerance.
Trait Implementations§
source§impl Clone for ZfpFixedAccuracyConfiguration
impl Clone for ZfpFixedAccuracyConfiguration
source§fn clone(&self) -> ZfpFixedAccuracyConfiguration
fn clone(&self) -> ZfpFixedAccuracyConfiguration
Returns a copy 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<'de> Deserialize<'de> for ZfpFixedAccuracyConfiguration
impl<'de> Deserialize<'de> for ZfpFixedAccuracyConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ZfpFixedAccuracyConfiguration
impl PartialEq for ZfpFixedAccuracyConfiguration
source§fn eq(&self, other: &ZfpFixedAccuracyConfiguration) -> bool
fn eq(&self, other: &ZfpFixedAccuracyConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ZfpFixedAccuracyConfiguration
Auto Trait Implementations§
impl Freeze for ZfpFixedAccuracyConfiguration
impl RefUnwindSafe for ZfpFixedAccuracyConfiguration
impl Send for ZfpFixedAccuracyConfiguration
impl Sync for ZfpFixedAccuracyConfiguration
impl Unpin for ZfpFixedAccuracyConfiguration
impl UnwindSafe for ZfpFixedAccuracyConfiguration
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