pub struct MicrophoneSimConfig {
pub enabled: bool,
pub model: MicrophoneSimModel,
}Fields§
§enabled: bool§model: MicrophoneSimModelImplementations§
Source§impl MicrophoneSimConfig
impl MicrophoneSimConfig
pub fn active_model(&self) -> Option<MicrophoneSimModel>
Trait Implementations§
Source§impl Clone for MicrophoneSimConfig
impl Clone for MicrophoneSimConfig
Source§fn clone(&self) -> MicrophoneSimConfig
fn clone(&self) -> MicrophoneSimConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MicrophoneSimConfig
impl Debug for MicrophoneSimConfig
Source§impl Default for MicrophoneSimConfig
impl Default for MicrophoneSimConfig
Source§impl<'de> Deserialize<'de> for MicrophoneSimConfig
impl<'de> Deserialize<'de> for MicrophoneSimConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MicrophoneSimConfig
impl PartialEq for MicrophoneSimConfig
Source§impl Serialize for MicrophoneSimConfig
impl Serialize for MicrophoneSimConfig
impl Copy for MicrophoneSimConfig
impl Eq for MicrophoneSimConfig
impl StructuralPartialEq for MicrophoneSimConfig
Auto Trait Implementations§
impl Freeze for MicrophoneSimConfig
impl RefUnwindSafe for MicrophoneSimConfig
impl Send for MicrophoneSimConfig
impl Sync for MicrophoneSimConfig
impl Unpin for MicrophoneSimConfig
impl UnsafeUnpin for MicrophoneSimConfig
impl UnwindSafe for MicrophoneSimConfig
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