pub enum UpstreamFeature {
Battery,
Dpi,
GameMode,
Identity,
Layout,
Lighting,
Macro,
PollingRate,
ScrollMode,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UpstreamFeature
impl Clone for UpstreamFeature
Source§fn clone(&self) -> UpstreamFeature
fn clone(&self) -> UpstreamFeature
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 UpstreamFeature
Source§impl Debug for UpstreamFeature
impl Debug for UpstreamFeature
Source§impl<'de> Deserialize<'de> for UpstreamFeature
impl<'de> Deserialize<'de> for UpstreamFeature
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 UpstreamFeature
Source§impl Ord for UpstreamFeature
impl Ord for UpstreamFeature
Source§fn cmp(&self, other: &UpstreamFeature) -> Ordering
fn cmp(&self, other: &UpstreamFeature) -> 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 UpstreamFeature
impl PartialEq for UpstreamFeature
Source§fn eq(&self, other: &UpstreamFeature) -> bool
fn eq(&self, other: &UpstreamFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UpstreamFeature
impl PartialOrd for UpstreamFeature
impl StructuralPartialEq for UpstreamFeature
Auto Trait Implementations§
impl Freeze for UpstreamFeature
impl RefUnwindSafe for UpstreamFeature
impl Send for UpstreamFeature
impl Sync for UpstreamFeature
impl Unpin for UpstreamFeature
impl UnsafeUnpin for UpstreamFeature
impl UnwindSafe for UpstreamFeature
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