Enum DigitalOutput
pub enum DigitalOutput {
MuteOut,
DOut,
}Variants§
Implementations§
§impl DigitalOutput
impl DigitalOutput
pub const VARIANTS: &[Self]
pub const VARIANTS: &[Self]
All digital output variants.
Trait Implementations§
§impl Clone for DigitalOutput
impl Clone for DigitalOutput
§fn clone(&self) -> DigitalOutput
fn clone(&self) -> DigitalOutput
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 more§impl Debug for DigitalOutput
impl Debug for DigitalOutput
§impl<'de> Deserialize<'de> for DigitalOutput
impl<'de> Deserialize<'de> for DigitalOutput
§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
§impl Enum for DigitalOutput
impl Enum for DigitalOutput
§fn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
Takes an usize, and returns an element matching
into_usize function.§fn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of
0..Array::LENGTH.§impl<V> EnumArray<V> for DigitalOutput
impl<V> EnumArray<V> for DigitalOutput
§impl PartialEq for DigitalOutput
impl PartialEq for DigitalOutput
§impl Serialize for DigitalOutput
impl Serialize for DigitalOutput
impl Copy for DigitalOutput
impl Eq for DigitalOutput
impl StructuralPartialEq for DigitalOutput
Auto Trait Implementations§
impl Freeze for DigitalOutput
impl RefUnwindSafe for DigitalOutput
impl Send for DigitalOutput
impl Sync for DigitalOutput
impl Unpin for DigitalOutput
impl UnwindSafe for DigitalOutput
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