#[repr(C)]pub union LineAttributeValueUnion {
pub flags: LineFlags,
pub values: u64,
pub debounce_period_us: u32,
}Expand description
The value of a particular line attribute.
Fields§
§flags: LineFlagsThe line configuration flags.
values: u64The values to which the lines will be set, with each bit number
corresponding to the index into LineRequest.offsets.
debounce_period_us: u32The debounce period, in microseconds.
Trait Implementations§
Source§impl Clone for LineAttributeValueUnion
impl Clone for LineAttributeValueUnion
Source§fn clone(&self) -> LineAttributeValueUnion
fn clone(&self) -> LineAttributeValueUnion
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 moreSource§impl Default for LineAttributeValueUnion
impl Default for LineAttributeValueUnion
impl Copy for LineAttributeValueUnion
Auto Trait Implementations§
impl Freeze for LineAttributeValueUnion
impl RefUnwindSafe for LineAttributeValueUnion
impl Send for LineAttributeValueUnion
impl Sync for LineAttributeValueUnion
impl Unpin for LineAttributeValueUnion
impl UnwindSafe for LineAttributeValueUnion
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