Struct ncurseswwin::MouseEvents
source · [−]pub struct MouseEvents { /* private fields */ }
Expand description
The mouse event that occurred.
Implementations
sourceimpl MouseEvents
impl MouseEvents
The button state that occurred. A None indicates no mouse event.
Does the current mouse event match the passed state.
Was the Ctrl-Button pressed during the mouse event.
Was the Shift-Button pressed during the mouse event.
Was the Alt-Button pressed during the mouse event.
Trait Implementations
sourceimpl Clone for MouseEvents
impl Clone for MouseEvents
sourcefn clone(&self) -> MouseEvents
fn clone(&self) -> MouseEvents
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 MouseEvents
impl Debug for MouseEvents
sourceimpl Default for MouseEvents
impl Default for MouseEvents
sourcefn default() -> MouseEvents
fn default() -> MouseEvents
Returns the “default value” for a type. Read more
sourceimpl Hash for MouseEvents
impl Hash for MouseEvents
sourceimpl PartialEq<MouseEvents> for MouseEvents
impl PartialEq<MouseEvents> for MouseEvents
sourcefn eq(&self, other: &MouseEvents) -> bool
fn eq(&self, other: &MouseEvents) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MouseEvents) -> bool
fn ne(&self, other: &MouseEvents) -> bool
This method tests for !=
.
impl Copy for MouseEvents
impl Eq for MouseEvents
impl StructuralEq for MouseEvents
impl StructuralPartialEq for MouseEvents
Auto Trait Implementations
impl RefUnwindSafe for MouseEvents
impl Send for MouseEvents
impl Sync for MouseEvents
impl Unpin for MouseEvents
impl UnwindSafe for MouseEvents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more