pub struct HwCode {
pub code: u16,
pub version: u16,
}
Fields§
§code: u16
Hardware code in hex
version: u16
Hardware version
Trait Implementations§
impl Copy for HwCode
impl Eq for HwCode
impl StructuralPartialEq for HwCode
Auto Trait Implementations§
impl Freeze for HwCode
impl RefUnwindSafe for HwCode
impl Send for HwCode
impl Sync for HwCode
impl Unpin for HwCode
impl UnwindSafe for HwCode
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