Struct amethyst_audio::Source
[−]
[src]
pub struct Source { pub bytes: Vec<u8>, }
A loaded audio file
Fields
bytes: Vec<u8>
The bytes of this audio source.
Trait Implementations
impl Clone for Source
[src]
fn clone(&self) -> Source
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<[u8]> for Source
[src]
impl Asset for Source
[src]
type Data = AudioData
The Data
type the asset can be created from.
type HandleStorage = VecStorage<SourceHandle>
The ECS storage type to be used. You'll want to use VecStorage
in most cases.