Enum symphonia_core::meta::Value
source · pub enum Value {
Binary(Box<[u8]>),
Boolean(bool),
Flag,
Float(f64),
SignedInt(i64),
String(String),
UnsignedInt(u64),
}
Expand description
A Tag
value.
Note: The data types in this enumeration are a generalization. Depending on the particular tag format, the actual data type a specific tag may have a lesser width or encoding than the data type in this enumeration.
Variants§
Binary(Box<[u8]>)
A binary buffer.
Boolean(bool)
A boolean value.
Flag
A flag or indicator. A flag carries no data, but the presence of the tag has an implicit meaning.
Float(f64)
A floating point number.
SignedInt(i64)
A signed integer.
String(String)
A string. This is also the catch-all type for tags with unconventional data types.
UnsignedInt(u64)
An unsigned integer.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin 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