pub enum LineAttributeValue {
DebouncePeriod(u32),
Flags(LineFlags),
Values(u64),
}Expand description
The attribute value contained within a LineAttribute.
Variants§
DebouncePeriod(u32)
The debounce period in microseconds.
Flags(LineFlags)
The configuration flags.
Values(u64)
The line values.
Trait Implementations§
Source§impl Clone for LineAttributeValue
impl Clone for LineAttributeValue
Source§fn clone(&self) -> LineAttributeValue
fn clone(&self) -> LineAttributeValue
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 LineAttributeValue
Source§impl Debug for LineAttributeValue
impl Debug for LineAttributeValue
impl Eq for LineAttributeValue
Source§impl PartialEq for LineAttributeValue
impl PartialEq for LineAttributeValue
Source§fn eq(&self, other: &LineAttributeValue) -> bool
fn eq(&self, other: &LineAttributeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LineAttributeValue
Auto Trait Implementations§
impl Freeze for LineAttributeValue
impl RefUnwindSafe for LineAttributeValue
impl Send for LineAttributeValue
impl Sync for LineAttributeValue
impl Unpin for LineAttributeValue
impl UnsafeUnpin for LineAttributeValue
impl UnwindSafe for LineAttributeValue
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