pub struct UsbVersion(pub u8, pub u8, pub u8);Expand description
This is the version of the firmware on the usb device
Tuple Fields§
§0: u8§1: u8§2: u8Trait Implementations§
Source§impl Clone for UsbVersion
impl Clone for UsbVersion
Source§fn clone(&self) -> UsbVersion
fn clone(&self) -> UsbVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UsbVersion
impl RefUnwindSafe for UsbVersion
impl Send for UsbVersion
impl Sync for UsbVersion
impl Unpin for UsbVersion
impl UnwindSafe for UsbVersion
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