Expand description
The info for a line discovered in the system.
Identifies the chip hosting the line, and the line info.
The discovered line can be used to request the line:
let led0 = gpiocdev::find_named_line("LED0").unwrap();
let req = Request::builder()
.with_found_line(&led0)
.as_output(Value::Active)
.request()?;
Fields
chip: PathBuf
The path to the chip containing the line.
offset: Offset
The offset of the line on the chip.
info: Info
The info of the line.
Trait Implementations
impl Eq for FoundLine
impl StructuralEq for FoundLine
impl StructuralPartialEq for FoundLine
Auto Trait Implementations
impl RefUnwindSafe for FoundLine
impl Send for FoundLine
impl Sync for FoundLine
impl Unpin for FoundLine
impl UnwindSafe for FoundLine
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