pub struct Float8E8M0FNUDataType;Expand description
The float8_e8m0fnu data type.
Trait Implementations§
Source§impl BytesDataTypeTraits for Float8E8M0FNUDataType
impl BytesDataTypeTraits for Float8E8M0FNUDataType
Source§impl Clone for Float8E8M0FNUDataType
impl Clone for Float8E8M0FNUDataType
Source§fn clone(&self) -> Float8E8M0FNUDataType
fn clone(&self) -> Float8E8M0FNUDataType
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 DataTypeTraits for Float8E8M0FNUDataType
impl DataTypeTraits for Float8E8M0FNUDataType
Source§fn configuration(&self, _version: ZarrVersion) -> Configuration
fn configuration(&self, _version: ZarrVersion) -> Configuration
The configuration of the data type.
Source§fn size(&self) -> DataTypeSize
fn size(&self) -> DataTypeSize
The size of the data type. Read more
Source§fn fill_value(
&self,
fill_value_metadata: &FillValueMetadata,
_version: ZarrVersion,
) -> Result<FillValue, DataTypeFillValueMetadataError>
fn fill_value( &self, fill_value_metadata: &FillValueMetadata, _version: ZarrVersion, ) -> Result<FillValue, DataTypeFillValueMetadataError>
Create a fill value from metadata. Read more
Source§fn metadata_fill_value(
&self,
fill_value: &FillValue,
) -> Result<FillValueMetadata, DataTypeFillValueError>
fn metadata_fill_value( &self, fill_value: &FillValue, ) -> Result<FillValueMetadata, DataTypeFillValueError>
Create fill value metadata. Read more
Source§fn configuration_v3(&self) -> Configuration
fn configuration_v3(&self) -> Configuration
The Zarr V3 configuration of the data type.
Source§fn configuration_v2(&self) -> Configuration
fn configuration_v2(&self) -> Configuration
The Zarr V2 configuration of the data type.
Source§fn fill_value_v2(
&self,
fill_value_metadata: &FillValueMetadataV3,
) -> Result<FillValue, DataTypeFillValueMetadataError>
fn fill_value_v2( &self, fill_value_metadata: &FillValueMetadataV3, ) -> Result<FillValue, DataTypeFillValueMetadataError>
Create a fill value from Zarr V2 metadata. Read more
Source§fn fill_value_v3(
&self,
fill_value_metadata: &FillValueMetadataV3,
) -> Result<FillValue, DataTypeFillValueMetadataError>
fn fill_value_v3( &self, fill_value_metadata: &FillValueMetadataV3, ) -> Result<FillValue, DataTypeFillValueMetadataError>
Create a fill value from Zarr V3 metadata. Read more
Source§fn eq(&self, other: &dyn DataTypeTraits) -> bool
fn eq(&self, other: &dyn DataTypeTraits) -> bool
Compare this data type with another for equality. Read more
Source§fn compatible_element_types(&self) -> &'static [TypeId]
fn compatible_element_types(&self) -> &'static [TypeId]
Returns the set of Rust element types this data type is compatible with. Read more
Source§impl DataTypeTraitsV2 for Float8E8M0FNUDataType
impl DataTypeTraitsV2 for Float8E8M0FNUDataType
Source§fn create(_metadata: &DataTypeMetadataV2) -> Result<DataType, PluginCreateError>
fn create(_metadata: &DataTypeMetadataV2) -> Result<DataType, PluginCreateError>
Create a data type from Zarr V2 metadata. Read more
Source§impl DataTypeTraitsV3 for Float8E8M0FNUDataType
impl DataTypeTraitsV3 for Float8E8M0FNUDataType
Source§fn create(metadata: &MetadataV3) -> Result<DataType, PluginCreateError>
fn create(metadata: &MetadataV3) -> Result<DataType, PluginCreateError>
Create a data type from Zarr V3 metadata. Read more
Source§impl Debug for Float8E8M0FNUDataType
impl Debug for Float8E8M0FNUDataType
Source§impl ExtensionAliases<ZarrVersion2> for Float8E8M0FNUDataType
impl ExtensionAliases<ZarrVersion2> for Float8E8M0FNUDataType
Source§fn aliases() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
fn aliases() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
Get a read lock on the aliases configuration for this version.
Source§fn aliases_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
fn aliases_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
Get a write lock on the aliases configuration for this version.
Source§impl ExtensionAliases<ZarrVersion3> for Float8E8M0FNUDataType
impl ExtensionAliases<ZarrVersion3> for Float8E8M0FNUDataType
Source§fn aliases() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
fn aliases() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
Get a read lock on the aliases configuration for this version.
Source§fn aliases_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
fn aliases_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
Get a write lock on the aliases configuration for this version.
Source§impl ExtensionNameStatic for Float8E8M0FNUDataType
impl ExtensionNameStatic for Float8E8M0FNUDataType
Source§const DEFAULT_NAME_FN: fn(ZarrVersion) -> Option<Cow<'static, str>>
const DEFAULT_NAME_FN: fn(ZarrVersion) -> Option<Cow<'static, str>>
Function pointer to get the default name for a given Zarr version. Read more
Source§impl PackBitsDataTypeTraits for Float8E8M0FNUDataType
impl PackBitsDataTypeTraits for Float8E8M0FNUDataType
Source§fn component_size_bits(&self) -> u64
fn component_size_bits(&self) -> u64
The component size in bits.
Source§fn num_components(&self) -> u64
fn num_components(&self) -> u64
The number of components.
Source§fn sign_extension(&self) -> bool
fn sign_extension(&self) -> bool
True if the components need sign extension. Read more
impl Copy for Float8E8M0FNUDataType
Auto Trait Implementations§
impl Freeze for Float8E8M0FNUDataType
impl Send for Float8E8M0FNUDataType
impl Sync for Float8E8M0FNUDataType
impl RefUnwindSafe for Float8E8M0FNUDataType
impl Unpin for Float8E8M0FNUDataType
impl UnsafeUnpin for Float8E8M0FNUDataType
impl UnwindSafe for Float8E8M0FNUDataType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ExtensionAliasesV2 for Twhere
T: ExtensionAliases<ZarrVersion2>,
impl<T> ExtensionAliasesV2 for Twhere
T: ExtensionAliases<ZarrVersion2>,
Source§fn aliases_v2() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
fn aliases_v2() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
Get a read lock on the V2 aliases configuration.
Source§fn aliases_v2_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
fn aliases_v2_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
Get a write lock on the V2 aliases configuration.
Source§fn matches_name_v2(name: &str) -> bool
fn matches_name_v2(name: &str) -> bool
Check if the given name matches this extension for Zarr V2.
Source§impl<T> ExtensionAliasesV3 for Twhere
T: ExtensionAliases<ZarrVersion3>,
impl<T> ExtensionAliasesV3 for Twhere
T: ExtensionAliases<ZarrVersion3>,
Source§fn aliases_v3() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
fn aliases_v3() -> RwLockReadGuard<'static, ExtensionAliasesConfig>
Get a read lock on the V3 aliases configuration.
Source§fn aliases_v3_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
fn aliases_v3_mut() -> RwLockWriteGuard<'static, ExtensionAliasesConfig>
Get a write lock on the V3 aliases configuration.
Source§fn matches_name_v3(name: &str) -> bool
fn matches_name_v3(name: &str) -> bool
Check if the given name matches this extension for Zarr V3.
Source§impl<T> ExtensionName for Twhere
T: ExtensionNameStatic,
impl<T> ExtensionName for Twhere
T: ExtensionNameStatic,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more