Enum gpiocdev_uapi::v2::LineAttributeKind
source · [−]#[repr(u32)]
pub enum LineAttributeKind {
Unused,
Flags,
Values,
Debounce,
}
Expand description
An identifier for which field of the LineAttributeValueUnion
is in use.
Variants
Unused
The attribute is inactive - no fields are in use.
Flags
The flags field is in use.
Values
The values field is in use.
Debounce
The debounce_period_us field is in use.
Trait Implementations
sourceimpl Clone for LineAttributeKind
impl Clone for LineAttributeKind
sourcefn clone(&self) -> LineAttributeKind
fn clone(&self) -> LineAttributeKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LineAttributeKind
impl Debug for LineAttributeKind
sourceimpl Default for LineAttributeKind
impl Default for LineAttributeKind
sourceimpl PartialEq<LineAttributeKind> for LineAttributeKind
impl PartialEq<LineAttributeKind> for LineAttributeKind
sourcefn eq(&self, other: &LineAttributeKind) -> bool
fn eq(&self, other: &LineAttributeKind) -> bool
sourceimpl TryFrom<u32> for LineAttributeKind
impl TryFrom<u32> for LineAttributeKind
impl Copy for LineAttributeKind
impl Eq for LineAttributeKind
impl StructuralEq for LineAttributeKind
impl StructuralPartialEq for LineAttributeKind
Auto Trait Implementations
impl RefUnwindSafe for LineAttributeKind
impl Send for LineAttributeKind
impl Sync for LineAttributeKind
impl Unpin for LineAttributeKind
impl UnwindSafe for LineAttributeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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