pub struct GlobalContext;
Implementations§
Source§impl GlobalContext
impl GlobalContext
pub fn with_audio<T, F: FnOnce(&AudioRef) -> T>(&self, func: F) -> T
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlobalContext
impl RefUnwindSafe for GlobalContext
impl Send for GlobalContext
impl Sync for GlobalContext
impl Unpin for GlobalContext
impl UnwindSafe for GlobalContext
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