pub enum Value {
}Expand description
Represents a metadata tag value, which can be of various types.
Variants§
String(String)
ASCII/UTF-8 string
U8(u8)
Unsigned 8-bit integer
U16(u16)
Unsigned 16-bit integer
U32(u32)
Unsigned 32-bit integer
I16(i16)
Signed 16-bit integer
I32(i32)
Signed 32-bit integer
URational(u32, u32)
Unsigned rational (numerator/denominator)
IRational(i32, i32)
Signed rational (numerator/denominator)
F32(f32)
32-bit float
F64(f64)
64-bit float
Binary(Vec<u8>)
Raw binary data
List(Vec<Value>)
A list of values (e.g., GPS coordinates, color space arrays)
Undefined(Vec<u8>)
Undefined/opaque bytes with a semantic type hint
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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