pub enum AttributeValue {
I8(Vec<i8>),
I16(Vec<i16>),
I32(Vec<i32>),
I64(Vec<i64>),
U8(Vec<u8>),
U16(Vec<u16>),
U32(Vec<u32>),
U64(Vec<u64>),
F32(Vec<f32>),
F64(Vec<f64>),
String(String),
Raw(Vec<u8>),
}Expand description
A decoded HDF5 attribute value.
Variants§
I8(Vec<i8>)
Signed 8-bit integer (scalar or array).
I16(Vec<i16>)
Signed 16-bit integer (scalar or array).
I32(Vec<i32>)
Signed 32-bit integer (scalar or array).
I64(Vec<i64>)
Signed 64-bit integer (scalar or array).
U8(Vec<u8>)
Unsigned 8-bit integer (scalar or array).
U16(Vec<u16>)
Unsigned 16-bit integer (scalar or array).
U32(Vec<u32>)
Unsigned 32-bit integer (scalar or array).
U64(Vec<u64>)
Unsigned 64-bit integer (scalar or array).
F32(Vec<f32>)
32-bit float (scalar or array).
F64(Vec<f64>)
64-bit float (scalar or array).
String(String)
Fixed-length string.
Raw(Vec<u8>)
Raw bytes (for types we don’t decode).
Implementations§
Trait Implementations§
Source§impl Clone for AttributeValue
impl Clone for AttributeValue
Source§fn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
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 Debug for AttributeValue
impl Debug for AttributeValue
Source§impl PartialEq for AttributeValue
impl PartialEq for AttributeValue
impl StructuralPartialEq for AttributeValue
Auto Trait Implementations§
impl Freeze for AttributeValue
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnsafeUnpin for AttributeValue
impl UnwindSafe for AttributeValue
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