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