pub struct HandleConfig {
pub flags: HandleRequestFlags,
pub values: LineValues,
/* private fields */
}Expand description
Updated configuration for an existing GPIO handle request.
Fields§
§flags: HandleRequestFlagsUpdated flags for the requested GPIO lines.
The flags will be applied to all lines in the existing request.
values: LineValuesIf the HandleRequestFlags::OUTPUT is set in flags, this specifies the
output value, should be 0 (inactive) or 1 (active).
All other values are interpreted as active.
Trait Implementations§
Source§impl Clone for HandleConfig
impl Clone for HandleConfig
Source§fn clone(&self) -> HandleConfig
fn clone(&self) -> HandleConfig
Returns a duplicate 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 HandleConfig
impl Debug for HandleConfig
Source§impl Default for HandleConfig
impl Default for HandleConfig
Source§fn default() -> HandleConfig
fn default() -> HandleConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for HandleConfig
impl PartialEq for HandleConfig
impl Eq for HandleConfig
impl StructuralPartialEq for HandleConfig
Auto Trait Implementations§
impl Freeze for HandleConfig
impl RefUnwindSafe for HandleConfig
impl Send for HandleConfig
impl Sync for HandleConfig
impl Unpin for HandleConfig
impl UnwindSafe for HandleConfig
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