Struct gpiocdev_uapi::v2::LineAttributes
source · #[repr(C)]pub struct LineAttributes(/* private fields */);Expand description
The set of potential configuration attributes for a line.
LineInfo.num_attrs specifies the number of entries in use.
Trait Implementations§
source§impl Clone for LineAttributes
impl Clone for LineAttributes
source§fn clone(&self) -> LineAttributes
fn clone(&self) -> LineAttributes
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 LineAttributes
impl Debug for LineAttributes
source§impl Default for LineAttributes
impl Default for LineAttributes
source§fn default() -> LineAttributes
fn default() -> LineAttributes
Returns the “default value” for a type. Read more
source§impl PartialEq for LineAttributes
impl PartialEq for LineAttributes
source§fn eq(&self, other: &LineAttributes) -> bool
fn eq(&self, other: &LineAttributes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LineAttributes
impl Eq for LineAttributes
impl StructuralPartialEq for LineAttributes
Auto Trait Implementations§
impl Freeze for LineAttributes
impl RefUnwindSafe for LineAttributes
impl Send for LineAttributes
impl Sync for LineAttributes
impl Unpin for LineAttributes
impl UnwindSafe for LineAttributes
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