#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineAttributeKind
Source§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
impl Eq for LineAttributeKind
Source§impl PartialEq for LineAttributeKind
impl PartialEq for LineAttributeKind
Source§fn eq(&self, other: &LineAttributeKind) -> bool
fn eq(&self, other: &LineAttributeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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