Struct amethyst_audio::Mp3Format [−][src]
pub struct Mp3Format;
Loads audio from MP3 files.
Trait Implementations
impl Clone for Mp3Format
[src]
impl Clone for Mp3Format
fn clone(&self) -> Mp3Format
[src]
fn clone(&self) -> Mp3Format
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 Mp3Format
[src]
impl SimpleFormat<Audio> for Mp3Format
const NAME: &'static str
NAME: &'static str = "MP3"
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>, _: ()) -> Result<AudioData>
[src]
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<AudioData>
Produces asset data from given bytes.