Struct gpiocdev_uapi::v2::LineConfigAttribute
source · [−]#[repr(C)]pub struct LineConfigAttribute {
pub attr: LineAttribute,
pub mask: Bitmap<64>,
}
Expand description
A configuration attribute associated with one or more of the requested lines.
Fields
attr: LineAttribute
The configurable attribute.
mask: Bitmap<64>
The lines to which the attribute applies, with each bit number corresponding
to the index into LineRequest.offsets
.
Trait Implementations
sourceimpl Clone for LineConfigAttribute
impl Clone for LineConfigAttribute
sourcefn clone(&self) -> LineConfigAttribute
fn clone(&self) -> LineConfigAttribute
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 LineConfigAttribute
impl Debug for LineConfigAttribute
sourceimpl Default for LineConfigAttribute
impl Default for LineConfigAttribute
sourcefn default() -> LineConfigAttribute
fn default() -> LineConfigAttribute
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LineConfigAttribute> for LineConfigAttribute
impl PartialEq<LineConfigAttribute> for LineConfigAttribute
sourcefn eq(&self, other: &LineConfigAttribute) -> bool
fn eq(&self, other: &LineConfigAttribute) -> bool
impl Copy for LineConfigAttribute
impl Eq for LineConfigAttribute
impl StructuralEq for LineConfigAttribute
impl StructuralPartialEq for LineConfigAttribute
Auto Trait Implementations
impl RefUnwindSafe for LineConfigAttribute
impl Send for LineConfigAttribute
impl Sync for LineConfigAttribute
impl Unpin for LineConfigAttribute
impl UnwindSafe for LineConfigAttribute
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