#[non_exhaustive]pub enum MetadataFormat {
Reserved0(u8),
TeM,
BiM,
Reserved1(u8),
AppFormat,
Private(u8),
Identifier,
}Expand description
Metadata_format values (Table 2-87).
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.
Reserved0(u8)
0x00–0x0F — Reserved.
TeM
0x10 — ISO/IEC 15938-1 TeM.
BiM
0x11 — ISO/IEC 15938-1 BiM.
Reserved1(u8)
0x12–0x3E — Reserved.
AppFormat
0x3F — Defined by metadata application format.
Private(u8)
0x40–0xFE — Private use.
Identifier
0xFF — Defined by metadata_format_identifier field.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataFormat
impl Clone for MetadataFormat
Source§fn clone(&self) -> MetadataFormat
fn clone(&self) -> MetadataFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetadataFormat
Source§impl Debug for MetadataFormat
impl Debug for MetadataFormat
Source§impl Display for MetadataFormat
impl Display for MetadataFormat
impl Eq for MetadataFormat
Source§impl PartialEq for MetadataFormat
impl PartialEq for MetadataFormat
Source§fn eq(&self, other: &MetadataFormat) -> bool
fn eq(&self, other: &MetadataFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetadataFormat
impl Serialize for MetadataFormat
impl StructuralPartialEq for MetadataFormat
Auto Trait Implementations§
impl Freeze for MetadataFormat
impl RefUnwindSafe for MetadataFormat
impl Send for MetadataFormat
impl Sync for MetadataFormat
impl Unpin for MetadataFormat
impl UnsafeUnpin for MetadataFormat
impl UnwindSafe for MetadataFormat
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