[−][src]Struct conrod_core::event::Click
Contains all the relevant information for a mouse click.
Fields
Which mouse button was clicked
xy: Point
The position at which the mouse was released.
modifiers: ModifierKey
Which modifier keys, if any, that were being held down when the user clicked
Implementations
impl Click
[src]
pub fn relative_to(&self, xy: Point) -> Click
[src]
Returns a copy of the Click relative to the given xy
Trait Implementations
impl Clone for Click
[src]
impl Copy for Click
[src]
impl Debug for Click
[src]
impl From<Click> for Widget
[src]
impl PartialEq<Click> for Click
[src]
impl StructuralPartialEq for Click
[src]
Auto Trait Implementations
impl RefUnwindSafe for Click
impl Send for Click
impl Sync for Click
impl Unpin for Click
impl UnwindSafe for Click
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,