Struct zarrs::array::codec::array_to_array::bitround::BitroundCodecConfigurationV1
source · pub struct BitroundCodecConfigurationV1 {
pub keepbits: u32,
}
Available on crate feature
bitround
only.Expand description
bitround
codec configuration parameters (version 1.0 draft).
§Example: Keep 10 bits of the mantissa
{
"keepbits": 10
}
Fields§
§keepbits: u32
The number of mantissa bits to keep for a floating point data type.
Trait Implementations§
source§impl Clone for BitroundCodecConfigurationV1
impl Clone for BitroundCodecConfigurationV1
source§fn clone(&self) -> BitroundCodecConfigurationV1
fn clone(&self) -> BitroundCodecConfigurationV1
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 BitroundCodecConfigurationV1
impl Debug for BitroundCodecConfigurationV1
source§impl<'de> Deserialize<'de> for BitroundCodecConfigurationV1
impl<'de> Deserialize<'de> for BitroundCodecConfigurationV1
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 From<BitroundCodecConfigurationV1> for BitroundCodecConfiguration
impl From<BitroundCodecConfigurationV1> for BitroundCodecConfiguration
source§fn from(original: BitroundCodecConfigurationV1) -> BitroundCodecConfiguration
fn from(original: BitroundCodecConfigurationV1) -> BitroundCodecConfiguration
Converts to this type from the input type.
source§impl PartialEq for BitroundCodecConfigurationV1
impl PartialEq for BitroundCodecConfigurationV1
source§fn eq(&self, other: &BitroundCodecConfigurationV1) -> bool
fn eq(&self, other: &BitroundCodecConfigurationV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BitroundCodecConfigurationV1
impl StructuralPartialEq for BitroundCodecConfigurationV1
Auto Trait Implementations§
impl Freeze for BitroundCodecConfigurationV1
impl RefUnwindSafe for BitroundCodecConfigurationV1
impl Send for BitroundCodecConfigurationV1
impl Sync for BitroundCodecConfigurationV1
impl Unpin for BitroundCodecConfigurationV1
impl UnwindSafe for BitroundCodecConfigurationV1
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.