Struct stdweb::web::event::ClickEvent
[−]
[src]
pub struct ClickEvent(_);
The ClickEvent
is fired when a pointing device button (usually a
mouse's primary button) is pressed and released on a single element.
Trait Implementations
impl IEvent for ClickEvent
[src]
fn event_type(&self) -> String
Returns a string containing the type of event. It is set when the event is constructed and is the name commonly used to refer to the specific event. Read more
fn prevent_default(&self)
Cancels the event if it is cancelable, without stopping further propagation of the event. Read more
impl IUiEvent for ClickEvent
[src]
impl IMouseEvent for ClickEvent
[src]
impl Debug for ClickEvent
[src]
impl Clone for ClickEvent
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for ClickEvent
[src]
impl<T: TryInto<Reference>> TryFrom<T> for ClickEvent where
<T as TryInto<Reference>>::Error: Into<Box<Error>>,
[src]
<T as TryInto<Reference>>::Error: Into<Box<Error>>,