Struct gpiocdev_uapi::v2::LineConfigAttributes
source · [−]#[repr(C)]pub struct LineConfigAttributes(pub [LineConfigAttribute; 10]);
Expand description
The set of additional configuration attributes for a line request.
LineConfig.num_attrs
specifies the number of entries in use.
Any attribute should only be associated with a particular line once. If an attribute is associated with a line multiple times then the first occurrence (i.e. lowest index) has precedence.
Tuple Fields
0: [LineConfigAttribute; 10]
Trait Implementations
sourceimpl Clone for LineConfigAttributes
impl Clone for LineConfigAttributes
sourcefn clone(&self) -> LineConfigAttributes
fn clone(&self) -> LineConfigAttributes
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 LineConfigAttributes
impl Debug for LineConfigAttributes
sourceimpl Default for LineConfigAttributes
impl Default for LineConfigAttributes
sourcefn default() -> LineConfigAttributes
fn default() -> LineConfigAttributes
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for LineConfigAttributes
impl Send for LineConfigAttributes
impl Sync for LineConfigAttributes
impl Unpin for LineConfigAttributes
impl UnwindSafe for LineConfigAttributes
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