pub struct DeviceInputMode(_);
Implementations
sourceimpl DeviceInputMode
impl DeviceInputMode
pub const ASYNC_THIS_DEVICE: DeviceInputMode = Self(0)
pub const SYNC_THIS_DEVICE: DeviceInputMode = Self(1)
pub const REPLAY_THIS_DEVICE: DeviceInputMode = Self(2)
pub const ASYNC_OTHER_DEVICES: DeviceInputMode = Self(3)
pub const ASYNC_ALL: DeviceInputMode = Self(4)
pub const SYNC_ALL: DeviceInputMode = Self(5)
Trait Implementations
sourceimpl Clone for DeviceInputMode
impl Clone for DeviceInputMode
sourcefn clone(&self) -> DeviceInputMode
fn clone(&self) -> DeviceInputMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceInputMode
impl Debug for DeviceInputMode
sourceimpl Default for DeviceInputMode
impl Default for DeviceInputMode
sourcefn default() -> DeviceInputMode
fn default() -> DeviceInputMode
Returns the “default value” for a type. Read more
sourceimpl From<u8> for DeviceInputMode
impl From<u8> for DeviceInputMode
sourcefn from(value: u8) -> DeviceInputMode
fn from(value: u8) -> DeviceInputMode
Converts to this type from the input type.
sourceimpl Hash for DeviceInputMode
impl Hash for DeviceInputMode
sourceimpl Ord for DeviceInputMode
impl Ord for DeviceInputMode
sourceimpl PartialEq<DeviceInputMode> for DeviceInputMode
impl PartialEq<DeviceInputMode> for DeviceInputMode
sourcefn eq(&self, other: &DeviceInputMode) -> bool
fn eq(&self, other: &DeviceInputMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceInputMode) -> bool
fn ne(&self, other: &DeviceInputMode) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DeviceInputMode> for DeviceInputMode
impl PartialOrd<DeviceInputMode> for DeviceInputMode
sourcefn partial_cmp(&self, other: &DeviceInputMode) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceInputMode) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for DeviceInputMode
impl Eq for DeviceInputMode
impl StructuralEq for DeviceInputMode
impl StructuralPartialEq for DeviceInputMode
Auto Trait Implementations
impl RefUnwindSafe for DeviceInputMode
impl Send for DeviceInputMode
impl Sync for DeviceInputMode
impl Unpin for DeviceInputMode
impl UnwindSafe for DeviceInputMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more