#[repr(C)]pub struct ChipInfo {
pub name: Name,
pub label: Name,
pub num_lines: u32,
}
Expand description
Information about a particular GPIO chip.
Fields§
§name: Name
The Linux kernel name of this GPIO chip.
label: Name
A functional name for this GPIO chip, such as a product number.
May be empty.
num_lines: u32
The number of GPIO lines on this chip.
Trait Implementations§
impl Eq for ChipInfo
impl StructuralPartialEq for ChipInfo
Auto Trait Implementations§
impl Freeze for ChipInfo
impl RefUnwindSafe for ChipInfo
impl Send for ChipInfo
impl Sync for ChipInfo
impl Unpin for ChipInfo
impl UnwindSafe for ChipInfo
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