pub struct Context { /* private fields */ }Available on crate features
audio only.Implementations§
Source§impl Context
impl Context
Sourcepub fn backends(&self) -> impl Iterator<Item = &str>
pub fn backends(&self) -> impl Iterator<Item = &str>
List audio backend plugins requested by the server
Sourcepub fn backends_mut(&mut self) -> &mut Vec<String>
pub fn backends_mut(&mut self) -> &mut Vec<String>
List audio backend plugins requested by the server (mutable)
Sourcepub fn params_mut(&mut self) -> &mut Params
pub fn params_mut(&mut self) -> &mut Params
Audio parameters set by the server (mutable)
Sourcepub fn backend_ptr(&self) -> Option<*const ID>
pub fn backend_ptr(&self) -> Option<*const ID>
Pointer to opaque audio backend instance (if loaded)
Trait Implementations§
Auto Trait Implementations§
impl !Send for Context
impl !Sync for Context
impl Freeze for Context
impl RefUnwindSafe for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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