Struct comfy_core::AudioSystem
source · pub struct AudioSystem {
pub system: Option<AudioSystemImpl>,
}Fields§
§system: Option<AudioSystemImpl>Implementations§
source§impl AudioSystem
impl AudioSystem
pub fn new() -> Self
pub fn process_sounds()
pub fn play_sound( assets: &mut Assets, sound: Sound, settings: Option<StaticSoundSettings>, track: AudioTrack )
Auto Trait Implementations§
impl !RefUnwindSafe for AudioSystem
impl Send for AudioSystem
impl !Sync for AudioSystem
impl Unpin for AudioSystem
impl !UnwindSafe for AudioSystem
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