pub struct LineInfo {
pub gpio: u32,
pub name: String,
pub consumer: String,
pub flags: Flags,
}
Expand description
Data returned by GpioChip::info()
Fields§
§gpio: u32
The GPIO number
name: String
The GPIO name
consumer: String
The GPIO consumer name
flags: Flags
The GPIO flags
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineInfo
impl RefUnwindSafe for LineInfo
impl Send for LineInfo
impl Sync for LineInfo
impl Unpin for LineInfo
impl UnwindSafe for LineInfo
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