Enum audrey::Format [] [src]

pub enum Format {
    Flac,
    OggVorbis,
    Wav,
    CafAlac,
}

Enumerates the various formats supported by the crate.

Variants

Methods

impl Format
[src]

Read a Format from the given extension.

This function expects that the extension is lowercase ASCII, e.g "wav" or "ogg".

Return the most commonly used file extension associated with the Format.

Trait Implementations

impl Copy for Format
[src]

impl Clone for Format
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Format
[src]

Formats the value using the given formatter.

impl Hash for Format
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Format
[src]

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

This method tests for !=.

impl Eq for Format
[src]