pub struct MicrophoneInterface { /* private fields */ }Implementations§
Source§impl MicrophoneInterface
impl MicrophoneInterface
pub const fn version(self) -> u32
pub const fn is_available(self) -> bool
pub fn open_default(self) -> Option<Microphone>
pub fn open(self, params: MicrophoneParams) -> Option<Microphone>
Trait Implementations§
Source§impl Clone for MicrophoneInterface
impl Clone for MicrophoneInterface
Source§fn clone(&self) -> MicrophoneInterface
fn clone(&self) -> MicrophoneInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MicrophoneInterface
impl Debug for MicrophoneInterface
Source§impl Default for MicrophoneInterface
impl Default for MicrophoneInterface
Source§fn default() -> MicrophoneInterface
fn default() -> MicrophoneInterface
Returns the “default value” for a type. Read more
impl Copy for MicrophoneInterface
Auto Trait Implementations§
impl Freeze for MicrophoneInterface
impl RefUnwindSafe for MicrophoneInterface
impl Send for MicrophoneInterface
impl Sync for MicrophoneInterface
impl Unpin for MicrophoneInterface
impl UnsafeUnpin for MicrophoneInterface
impl UnwindSafe for MicrophoneInterface
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