Struct gpiocdev_uapi::v2::LineConfigAttribute
source · #[repr(C)]pub struct LineConfigAttribute {
pub attr: LineAttribute,
pub mask: u64,
}Expand description
A configuration attribute associated with one or more of the requested lines.
Fields§
§attr: LineAttributeThe configurable attribute.
mask: u64The lines to which the attribute applies, with each bit number corresponding
to the index into LineRequest.offsets.
Trait Implementations§
source§impl Clone for LineConfigAttribute
impl Clone for LineConfigAttribute
source§fn clone(&self) -> LineConfigAttribute
fn clone(&self) -> LineConfigAttribute
Returns a copy 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 Debug for LineConfigAttribute
impl Debug for LineConfigAttribute
source§impl Default for LineConfigAttribute
impl Default for LineConfigAttribute
source§fn default() -> LineConfigAttribute
fn default() -> LineConfigAttribute
Returns the “default value” for a type. Read more
source§impl PartialEq for LineConfigAttribute
impl PartialEq for LineConfigAttribute
source§fn eq(&self, other: &LineConfigAttribute) -> bool
fn eq(&self, other: &LineConfigAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LineConfigAttribute
impl Eq for LineConfigAttribute
impl StructuralPartialEq for LineConfigAttribute
Auto Trait Implementations§
impl Freeze for LineConfigAttribute
impl RefUnwindSafe for LineConfigAttribute
impl Send for LineConfigAttribute
impl Sync for LineConfigAttribute
impl Unpin for LineConfigAttribute
impl UnwindSafe for LineConfigAttribute
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