pub enum TagDataType {
Master,
UnsignedInt,
Integer,
Utf8,
Binary,
Float,
}
Expand description
Different data types defined in the EBML specification.
Notes
This library made a concious decision to not work with “Date” elements from EBML due to lack of built-in support for dates in Rust. Specification implementations should treat Date elements as Binary so that consumers have the option of parsing the unaltered data using their library of choice, if needed.
Variants§
Trait Implementations§
source§impl Clone for TagDataType
impl Clone for TagDataType
source§fn clone(&self) -> TagDataType
fn clone(&self) -> TagDataType
Returns a copy 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 TagDataType
impl Debug for TagDataType
source§impl Hash for TagDataType
impl Hash for TagDataType
source§impl Ord for TagDataType
impl Ord for TagDataType
source§fn cmp(&self, other: &TagDataType) -> Ordering
fn cmp(&self, other: &TagDataType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TagDataType> for TagDataType
impl PartialEq<TagDataType> for TagDataType
source§fn eq(&self, other: &TagDataType) -> bool
fn eq(&self, other: &TagDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TagDataType> for TagDataType
impl PartialOrd<TagDataType> for TagDataType
source§fn partial_cmp(&self, other: &TagDataType) -> Option<Ordering>
fn partial_cmp(&self, other: &TagDataType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more