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]

[src]

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

[src]

Creates a SoundData from any Read object; this involves copying it into a buffer.

Trait Implementations

impl Clone for SoundData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SoundData
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

Important traits for &'a mut [u8]
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SoundData

impl Sync for SoundData