pub struct LineInfo {
pub gpio: u32,
pub name: String,
pub consumer: String,
pub flags: Flags,
}Expand description
Data returned by GpioChip::info()
Fields§
§gpio: u32The GPIO number
name: StringThe GPIO name
consumer: StringThe GPIO consumer name
flags: FlagsThe 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