pub struct ContextConfig(/* private fields */);
Implementations§
Source§impl ContextConfig
impl ContextConfig
Sourcepub fn new() -> ContextConfig
pub fn new() -> ContextConfig
Initializes a ContextConfig object.
pub fn alsa(&self) -> &ContextConfigAlsa
pub fn alsa_mut(&mut self) -> &mut ContextConfigAlsa
pub fn pulse(&self) -> &ContextConfigPulse
pub fn pulse_mut(&mut self) -> &mut ContextConfigPulse
pub fn coreaudio(&self) -> &ContextConfigCoreAudio
pub fn coreaudio_mut(&mut self) -> &mut ContextConfigCoreAudio
pub fn jack(&self) -> &ContextConfigJack
pub fn jack_mut(&mut self) -> &mut ContextConfigJack
Trait Implementations§
Source§impl Default for ContextConfig
impl Default for ContextConfig
Auto Trait Implementations§
impl Freeze for ContextConfig
impl RefUnwindSafe for ContextConfig
impl !Send for ContextConfig
impl !Sync for ContextConfig
impl Unpin for ContextConfig
impl UnwindSafe for ContextConfig
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