Struct ggez::audio::SoundData [−][src]
pub struct SoundData(_);
Expand description
Static sound data stored in memory.
It is Arc
’ed, so cheap to clone.
Implementations
Load the file at the given path and create a new SoundData
from it.
Copies the data in the given slice into a new SoundData
object.
Creates a SoundData
from any Read
object; this involves
copying it into a buffer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SoundData
impl UnwindSafe for SoundData
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V