#[repr(C)]pub struct HatInfo {
pub address: u8,
pub id: u16,
pub version: u16,
pub product_name: [c_char; 256],
}Expand description
Contains information about a specific board.
Fields§
§address: u8The board address.
id: u16The product ID, one of HatIDs(@ref HatIDs)
version: u16The hardware version
product_name: [c_char; 256]The product name
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HatInfo
impl RefUnwindSafe for HatInfo
impl Send for HatInfo
impl Sync for HatInfo
impl Unpin for HatInfo
impl UnwindSafe for HatInfo
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