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]
fn from_bytes(data: &[u8]) -> Self
[src]
Copies the data in the given slice into a new SoundData object.
fn from_read<R>(reader: &mut R) -> GameResult<Self> where
R: Read,
[src]
R: Read,
Trait Implementations
impl Clone for SoundData
[src]
fn clone(&self) -> SoundData
[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