Enum audrey::Format [] [src]

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

Enumerates the various formats supported by the crate.

Variants

Methods

impl Format
[src]

[src]

Read a Format from the given extension.

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

[src]

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

Trait Implementations

impl Copy for Format
[src]

impl Clone for Format
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Format
[src]

[src]

Formats the value using the given formatter.

impl Hash for Format
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for Format
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Format
[src]