pub enum SystemEffectState {
Off,
On,
}Expand description
On/off state of a SystemEffect.
Mirrors the Windows AUDIO_SYSTEMEFFECT_STATE enumeration:
Off = 0, On = 1. The framework converts between the two
representations at the COM boundary so the user-facing API
stays cross-platform.
Variants§
Off
Effect is currently off; the user-side process may skip
the per-effect work.
On
Effect is currently on; the user-side process should
apply the effect normally.
Trait Implementations§
Source§impl Clone for SystemEffectState
impl Clone for SystemEffectState
Source§fn clone(&self) -> SystemEffectState
fn clone(&self) -> SystemEffectState
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 SystemEffectState
impl Debug for SystemEffectState
Source§impl Default for SystemEffectState
impl Default for SystemEffectState
Source§fn default() -> SystemEffectState
fn default() -> SystemEffectState
Returns the “default value” for a type. Read more
Source§impl Hash for SystemEffectState
impl Hash for SystemEffectState
Source§impl PartialEq for SystemEffectState
impl PartialEq for SystemEffectState
Source§fn eq(&self, other: &SystemEffectState) -> bool
fn eq(&self, other: &SystemEffectState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SystemEffectState
impl Eq for SystemEffectState
impl StructuralPartialEq for SystemEffectState
Auto Trait Implementations§
impl Freeze for SystemEffectState
impl RefUnwindSafe for SystemEffectState
impl Send for SystemEffectState
impl Sync for SystemEffectState
impl Unpin for SystemEffectState
impl UnsafeUnpin for SystemEffectState
impl UnwindSafe for SystemEffectState
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