Enum audio_video_metadata::enums::Metadata [−][src]
pub enum Metadata { Audio(AudioMetadata), Video(VideoMetadata), }
Variants
Audio(AudioMetadata)
Video(VideoMetadata)
Trait Implementations
impl Clone for Metadata
[src]
impl Clone for Metadata
fn clone(&self) -> Metadata
[src]
fn clone(&self) -> Metadata
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Metadata
[src]
impl Debug for Metadata
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Metadata
[src]
impl PartialEq for Metadata
fn eq(&self, other: &Metadata) -> bool
[src]
fn eq(&self, other: &Metadata) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Metadata) -> bool
[src]
fn ne(&self, other: &Metadata) -> bool
This method tests for !=
.
impl From<AudioMetadata> for Metadata
[src]
impl From<AudioMetadata> for Metadata
fn from(ty: AudioMetadata) -> Metadata
[src]
fn from(ty: AudioMetadata) -> Metadata
Performs the conversion.
impl From<VideoMetadata> for Metadata
[src]
impl From<VideoMetadata> for Metadata
fn from(ty: VideoMetadata) -> Metadata
[src]
fn from(ty: VideoMetadata) -> Metadata
Performs the conversion.