#[non_exhaustive]pub enum H5Value {
Int(i64),
UInt(u64),
Float(f64),
Str(String),
Reference(u64),
Compound(Vec<(String, H5Value)>),
Enum(i64, Option<String>),
Sequence(Vec<H5Value>),
}Expand description
The value of an element of an HDF5 datatype.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Int(i64)
UInt(u64)
Float(f64)
Str(String)
Reference(u64)
A reference to an object, by the address of its header (see Hdf5File::object_at).
Compound(Vec<(String, H5Value)>)
A compound value: its members in order.
Enum(i64, Option<String>)
An enumeration value: its integer and, when known, its name.
Sequence(Vec<H5Value>)
A variable-length sequence (not of characters).
Trait Implementations§
impl StructuralPartialEq for H5Value
Auto Trait Implementations§
impl Freeze for H5Value
impl RefUnwindSafe for H5Value
impl Send for H5Value
impl Sync for H5Value
impl Unpin for H5Value
impl UnsafeUnpin for H5Value
impl UnwindSafe for H5Value
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