pub enum DispatchMouseEventType {
MousePressed,
MouseReleased,
MouseMoved,
MouseWheel,
}
Expand description
Type of the mouse event.
Variants§
Trait Implementations§
source§impl AsRef<str> for DispatchMouseEventType
impl AsRef<str> for DispatchMouseEventType
source§impl Clone for DispatchMouseEventType
impl Clone for DispatchMouseEventType
source§fn clone(&self) -> DispatchMouseEventType
fn clone(&self) -> DispatchMouseEventType
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 moresource§impl Debug for DispatchMouseEventType
impl Debug for DispatchMouseEventType
source§impl<'de> Deserialize<'de> for DispatchMouseEventType
impl<'de> Deserialize<'de> for DispatchMouseEventType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DispatchMouseEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DispatchMouseEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for DispatchMouseEventType
impl FromStr for DispatchMouseEventType
source§impl Hash for DispatchMouseEventType
impl Hash for DispatchMouseEventType
source§impl PartialEq for DispatchMouseEventType
impl PartialEq for DispatchMouseEventType
source§fn eq(&self, other: &DispatchMouseEventType) -> bool
fn eq(&self, other: &DispatchMouseEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DispatchMouseEventType
impl Serialize for DispatchMouseEventType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DispatchMouseEventType
impl StructuralPartialEq for DispatchMouseEventType
Auto Trait Implementations§
impl Freeze for DispatchMouseEventType
impl RefUnwindSafe for DispatchMouseEventType
impl Send for DispatchMouseEventType
impl Sync for DispatchMouseEventType
impl Unpin for DispatchMouseEventType
impl UnwindSafe for DispatchMouseEventType
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