pub enum UpstreamDeviceKind {
Accessory,
Core,
Headset,
Keyboard,
Keypad,
Monitor,
Mouse,
MouseMat,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UpstreamDeviceKind
impl Clone for UpstreamDeviceKind
Source§fn clone(&self) -> UpstreamDeviceKind
fn clone(&self) -> UpstreamDeviceKind
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 UpstreamDeviceKind
Source§impl Debug for UpstreamDeviceKind
impl Debug for UpstreamDeviceKind
Source§impl<'de> Deserialize<'de> for UpstreamDeviceKind
impl<'de> Deserialize<'de> for UpstreamDeviceKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpstreamDeviceKind
Source§impl Ord for UpstreamDeviceKind
impl Ord for UpstreamDeviceKind
Source§fn cmp(&self, other: &UpstreamDeviceKind) -> Ordering
fn cmp(&self, other: &UpstreamDeviceKind) -> 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 UpstreamDeviceKind
impl PartialEq for UpstreamDeviceKind
Source§fn eq(&self, other: &UpstreamDeviceKind) -> bool
fn eq(&self, other: &UpstreamDeviceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UpstreamDeviceKind
impl PartialOrd for UpstreamDeviceKind
impl StructuralPartialEq for UpstreamDeviceKind
Auto Trait Implementations§
impl Freeze for UpstreamDeviceKind
impl RefUnwindSafe for UpstreamDeviceKind
impl Send for UpstreamDeviceKind
impl Sync for UpstreamDeviceKind
impl Unpin for UpstreamDeviceKind
impl UnsafeUnpin for UpstreamDeviceKind
impl UnwindSafe for UpstreamDeviceKind
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