Enum mp4ameta::SampleRate[][src]

pub enum SampleRate {
Show variants Hz96000, Hz88200, Hz64000, Hz48000, Hz44100, Hz32000, Hz24000, Hz22050, Hz16000, Hz12000, Hz11025, Hz8000, Hz7350,
}
Expand description

An enum representing the sample rate of an MPEG-4 audio track.

Variants

Hz96000

A Sample rate of 96000Hz

Hz88200

A Sample rate of 88200Hz

Hz64000

A Sample rate of 64000Hz

Hz48000

A Sample rate of 48000Hz

Hz44100

A Sample rate of 44100Hz

Hz32000

A Sample rate of 32000Hz

Hz24000

A Sample rate of 24000Hz

Hz22050

A Sample rate of 24050Hz

Hz16000

A Sample rate of 16000Hz

Hz12000

A Sample rate of 12000Hz

Hz11025

A Sample rate of 11050Hz

Hz8000

A Sample rate of 8000Hz

Hz7350

A Sample rate of 7350Hz

Implementations

Returns the sample rate in Hz.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.