Enum dioxus_desktop::tao::event_loop::DeviceEventFilter
pub enum DeviceEventFilter {
Always,
Unfocused,
Never,
}Expand description
Fiter controlling the propagation of device events.
Variants§
Always
Always filter out device events.
Unfocused
Filter out device events while the window is not focused.
Never
Report all device events regardless of window focus.
Trait Implementations§
§impl Clone for DeviceEventFilter
impl Clone for DeviceEventFilter
§fn clone(&self) -> DeviceEventFilter
fn clone(&self) -> DeviceEventFilter
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 more§impl Debug for DeviceEventFilter
impl Debug for DeviceEventFilter
§impl Default for DeviceEventFilter
impl Default for DeviceEventFilter
§fn default() -> DeviceEventFilter
fn default() -> DeviceEventFilter
Returns the “default value” for a type. Read more
§impl Hash for DeviceEventFilter
impl Hash for DeviceEventFilter
§impl Ord for DeviceEventFilter
impl Ord for DeviceEventFilter
§fn cmp(&self, other: &DeviceEventFilter) -> Ordering
fn cmp(&self, other: &DeviceEventFilter) -> Ordering
1.21.0 · 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
§impl PartialEq<DeviceEventFilter> for DeviceEventFilter
impl PartialEq<DeviceEventFilter> for DeviceEventFilter
§fn eq(&self, other: &DeviceEventFilter) -> bool
fn eq(&self, other: &DeviceEventFilter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl PartialOrd<DeviceEventFilter> for DeviceEventFilter
impl PartialOrd<DeviceEventFilter> for DeviceEventFilter
§fn partial_cmp(&self, other: &DeviceEventFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceEventFilter) -> Option<Ordering>
1.0.0 · source§fn 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