Struct mp4ameta::AudioInfo[][src]

pub struct AudioInfo {
    pub duration: Option<Duration>,
    pub channel_config: Option<ChannelConfig>,
    pub sample_rate: Option<SampleRate>,
    pub max_bitrate: Option<u32>,
    pub avg_bitrate: Option<u32>,
}

A struct containing information about a mp4 track.

Fields

duration: Option<Duration>

The duration of the track.

channel_config: Option<ChannelConfig>

The channel configuration of the track.

sample_rate: Option<SampleRate>

The sample rate of the track.

max_bitrate: Option<u32>

The maximum bitrate of the track.

avg_bitrate: Option<u32>

The average bitrate of the track.

Trait Implementations

impl Clone for AudioInfo[src]

impl Debug for AudioInfo[src]

impl Default for AudioInfo[src]

impl Eq for AudioInfo[src]

impl PartialEq<AudioInfo> for AudioInfo[src]

impl StructuralEq for AudioInfo[src]

impl StructuralPartialEq for AudioInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.