#[non_exhaustive]pub enum UsbVersion {
Two = 512,
TwoOne = 528,
}
Expand description
Allows Configuring the Bcd USB version below 2.1
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for UsbVersion
impl Clone for UsbVersion
Source§fn clone(&self) -> UsbVersion
fn clone(&self) -> UsbVersion
Returns a copy 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 moreSource§impl Debug for UsbVersion
impl Debug for UsbVersion
Source§impl Format for UsbVersion
impl Format for UsbVersion
impl Copy for UsbVersion
Auto 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