Enum goxlr_types::OutputDevice
source · [−]pub enum OutputDevice {
Headphones,
BroadcastMix,
LineOut,
ChatMic,
Sampler,
}
Variants
Headphones
BroadcastMix
LineOut
ChatMic
Sampler
Trait Implementations
sourceimpl ArgEnum for OutputDevice
impl ArgEnum for OutputDevice
sourceimpl<O: Into<EnumSet<OutputDevice>>> BitAnd<O> for OutputDevice
impl<O: Into<EnumSet<OutputDevice>>> BitAnd<O> for OutputDevice
sourceimpl<O: Into<EnumSet<OutputDevice>>> BitOr<O> for OutputDevice
impl<O: Into<EnumSet<OutputDevice>>> BitOr<O> for OutputDevice
sourceimpl<O: Into<EnumSet<OutputDevice>>> BitXor<O> for OutputDevice
impl<O: Into<EnumSet<OutputDevice>>> BitXor<O> for OutputDevice
sourceimpl Clone for OutputDevice
impl Clone for OutputDevice
sourceimpl Debug for OutputDevice
impl Debug for OutputDevice
sourceimpl<'de> Deserialize<'de> for OutputDevice
impl<'de> Deserialize<'de> for OutputDevice
sourcefn 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
sourceimpl Display for OutputDevice
impl Display for OutputDevice
sourceimpl Enum for OutputDevice
impl Enum for OutputDevice
sourcefn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
Takes an usize, and returns an element matching into_usize
function.
sourcefn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of 0..Array::LENGTH
.
sourceimpl<V> EnumArray<V> for OutputDevice
impl<V> EnumArray<V> for OutputDevice
sourceimpl EnumCount for OutputDevice
impl EnumCount for OutputDevice
sourceimpl EnumSetTypePrivate for OutputDevice
impl EnumSetTypePrivate for OutputDevice
sourcefn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
sourceunsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
sourcefn serialize<S: Serializer>(
set: EnumSet<OutputDevice>,
ser: S
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>(
set: EnumSet<OutputDevice>,
ser: S
) -> Result<S::Ok, S::Error>
Serializes the EnumSet
. Read more
sourcefn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<OutputDevice>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<OutputDevice>, D::Error>
Deserializes the EnumSet
.
sourceimpl IntoEnumIterator for OutputDevice
impl IntoEnumIterator for OutputDevice
type Iterator = OutputDeviceIter
fn iter() -> OutputDeviceIterⓘNotable traits for OutputDeviceIterimpl Iterator for OutputDeviceIter type Item = OutputDevice;
sourceimpl Not for OutputDevice
impl Not for OutputDevice
sourceimpl PartialEq<EnumSet<OutputDevice>> for OutputDevice
impl PartialEq<EnumSet<OutputDevice>> for OutputDevice
sourceimpl PartialEq<OutputDevice> for OutputDevice
impl PartialEq<OutputDevice> for OutputDevice
sourceimpl Serialize for OutputDevice
impl Serialize for OutputDevice
sourceimpl<O: Into<EnumSet<OutputDevice>>> Sub<O> for OutputDevice
impl<O: Into<EnumSet<OutputDevice>>> Sub<O> for OutputDevice
impl Copy for OutputDevice
impl EnumSetType for OutputDevice
impl Eq for OutputDevice
Auto Trait Implementations
impl RefUnwindSafe for OutputDevice
impl Send for OutputDevice
impl Sync for OutputDevice
impl Unpin for OutputDevice
impl UnwindSafe for OutputDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more