Struct ggez::audio::SoundData [] [src]

pub struct SoundData(_);

Static sound data stored in memory. It is Arc'ed, so cheap to clone.

Methods

impl SoundData
[src]

Copies the data in the given slice into a new SoundData object.

Trait Implementations

impl Clone for SoundData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Vec<u8>> for SoundData
[src]

Performs the conversion.

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

Performs the conversion.