pub enum WebUsbVersion {
V10,
Other(u16),
}Expand description
WebUSB version.
Variants§
Trait Implementations§
Source§impl Clone for WebUsbVersion
impl Clone for WebUsbVersion
Source§fn clone(&self) -> WebUsbVersion
fn clone(&self) -> WebUsbVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WebUsbVersion
Source§impl Debug for WebUsbVersion
impl Debug for WebUsbVersion
Source§impl Default for WebUsbVersion
impl Default for WebUsbVersion
Source§fn default() -> WebUsbVersion
fn default() -> WebUsbVersion
Returns the “default value” for a type. Read more
impl Eq for WebUsbVersion
Source§impl From<WebUsbVersion> for u16
impl From<WebUsbVersion> for u16
Source§fn from(value: WebUsbVersion) -> Self
fn from(value: WebUsbVersion) -> Self
Converts to this type from the input type.
Source§impl Hash for WebUsbVersion
impl Hash for WebUsbVersion
Source§impl Ord for WebUsbVersion
impl Ord for WebUsbVersion
Source§fn cmp(&self, other: &WebUsbVersion) -> Ordering
fn cmp(&self, other: &WebUsbVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WebUsbVersion
impl PartialEq for WebUsbVersion
Source§impl PartialOrd for WebUsbVersion
impl PartialOrd for WebUsbVersion
impl StructuralPartialEq for WebUsbVersion
Auto Trait Implementations§
impl Freeze for WebUsbVersion
impl RefUnwindSafe for WebUsbVersion
impl Send for WebUsbVersion
impl Sync for WebUsbVersion
impl Unpin for WebUsbVersion
impl UnsafeUnpin for WebUsbVersion
impl UnwindSafe for WebUsbVersion
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