Enum amethyst_audio::AudioFormat [−][src]
pub enum AudioFormat { Ogg, Wav, Flac, Mp3, }
Aggregate sound format
Variants
Ogg
Ogg
Wav
Wav
Flac
Flac
Mp3
Mp3
Trait Implementations
impl Debug for AudioFormat
[src]
impl Debug for AudioFormat
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 Clone for AudioFormat
[src]
impl Clone for AudioFormat
fn clone(&self) -> AudioFormat
[src]
fn clone(&self) -> AudioFormat
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 SimpleFormat<Audio> for AudioFormat
[src]
impl SimpleFormat<Audio> for AudioFormat
const NAME: &'static str
NAME: &'static str = "AudioFormat"
A unique identifier for this format.
type Options = ()
Options specific to the format, which are passed to import
. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more
fn import(&self, bytes: Vec<u8>, options: ()) -> Result<AudioData>
[src]
fn import(&self, bytes: Vec<u8>, options: ()) -> Result<AudioData>
Produces asset data from given bytes.
Auto Trait Implementations
impl Send for AudioFormat
impl Send for AudioFormat
impl Sync for AudioFormat
impl Sync for AudioFormat