pub struct Sound {
pub looping: bool,
/* private fields */
}Expand description
A decoded sound buffer (Audio::SoundBuffer) that any number of channels can play at once;
the samples are shared, not copied, per channel.
Fields§
§looping: boolWhether the sound loops.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sound
impl RefUnwindSafe for Sound
impl Send for Sound
impl Sync for Sound
impl Unpin for Sound
impl UnsafeUnpin for Sound
impl UnwindSafe for Sound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more