pub struct WebAudio { /* private fields */ }
Trait Implementations§
Source§impl Audio for WebAudio
impl Audio for WebAudio
fn create_source( &mut self, entity: Entity, data: &[u8], streaming: bool, looped: bool, playback_rate: Scalar, volume: Scalar, play: bool, notify_ready: Arc<AtomicBool>, )
fn destroy_source(&mut self, entity: Entity)
fn has_source(&mut self, entity: Entity) -> bool
fn update_source( &mut self, entity: Entity, looped: bool, playback_rate: Scalar, volume: Scalar, play: Option<bool>, )
fn get_source_state(&self, entity: Entity) -> Option<AudioState>
fn get_asset_id(&self, path: &str) -> Option<AssetId>
fn update_cache(&mut self, assets: &AssetsDatabase)
impl Send for WebAudio
impl Sync for WebAudio
Auto Trait Implementations§
impl Freeze for WebAudio
impl !RefUnwindSafe for WebAudio
impl Unpin for WebAudio
impl !UnwindSafe for WebAudio
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