Struct zarrs::array::codec::array_to_bytes::zfp::ZfpFixedRateConfiguration
source · pub struct ZfpFixedRateConfiguration {
pub rate: f64,
}
Available on crate feature
zfp
only.Expand description
The zfp
configuration for fixed rate mode.
Fields§
§rate: f64
The rate is the number of compressed bits per value.
Trait Implementations§
source§impl Clone for ZfpFixedRateConfiguration
impl Clone for ZfpFixedRateConfiguration
source§fn clone(&self) -> ZfpFixedRateConfiguration
fn clone(&self) -> ZfpFixedRateConfiguration
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 Debug for ZfpFixedRateConfiguration
impl Debug for ZfpFixedRateConfiguration
source§impl<'de> Deserialize<'de> for ZfpFixedRateConfiguration
impl<'de> Deserialize<'de> for ZfpFixedRateConfiguration
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 Display for ZfpFixedRateConfiguration
impl Display for ZfpFixedRateConfiguration
source§impl PartialEq for ZfpFixedRateConfiguration
impl PartialEq for ZfpFixedRateConfiguration
source§fn eq(&self, other: &ZfpFixedRateConfiguration) -> bool
fn eq(&self, other: &ZfpFixedRateConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ZfpFixedRateConfiguration
Auto Trait Implementations§
impl Freeze for ZfpFixedRateConfiguration
impl RefUnwindSafe for ZfpFixedRateConfiguration
impl Send for ZfpFixedRateConfiguration
impl Sync for ZfpFixedRateConfiguration
impl Unpin for ZfpFixedRateConfiguration
impl UnwindSafe for ZfpFixedRateConfiguration
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