Struct amethyst_audio::Source [] [src]

pub struct Source {
    pub bytes: Vec<u8>,
}

A loaded audio file

Fields

The bytes of this audio source.

Trait Implementations

impl Clone for Source
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl AsRef<[u8]> for Source
[src]

[src]

Performs the conversion.

impl Asset for Source
[src]

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.