#[repr(u32)]pub enum LineAttributeKind {
Unused = 0,
Flags = 1,
Values = 2,
Debounce = 3,
}
Expand description
An identifier for which field of the LineAttributeValueUnion
is in use.
Variants§
Unused = 0
The attribute is inactive - no fields are in use.
Flags = 1
The flags field is in use.
Values = 2
The values field is in use.
Debounce = 3
The debounce_period_us field is in use.
Trait Implementations§
Source§impl Clone for LineAttributeKind
impl Clone for LineAttributeKind
Source§fn clone(&self) -> LineAttributeKind
fn clone(&self) -> LineAttributeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineAttributeKind
impl Debug for LineAttributeKind
Source§impl Default for LineAttributeKind
impl Default for LineAttributeKind
Source§fn default() -> LineAttributeKind
fn default() -> LineAttributeKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for LineAttributeKind
impl PartialEq for LineAttributeKind
Source§impl TryFrom<u32> for LineAttributeKind
impl TryFrom<u32> for LineAttributeKind
impl Copy for LineAttributeKind
impl Eq for LineAttributeKind
impl StructuralPartialEq for LineAttributeKind
Auto Trait Implementations§
impl Freeze for LineAttributeKind
impl RefUnwindSafe for LineAttributeKind
impl Send for LineAttributeKind
impl Sync for LineAttributeKind
impl Unpin for LineAttributeKind
impl UnwindSafe for LineAttributeKind
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