Struct virtual_node::event::EventName
source · [−]pub struct EventName(_);Expand description
The name of the event with the on prefix.
onclick, oninput, onmousemove … etc
Implementations
sourceimpl EventName
impl EventName
sourcepub fn is_delegated(&self) -> bool
pub fn is_delegated(&self) -> bool
Whether or not this event gets handled by our event delegation system. If not, the event will be attached to the DOM element.
Trait Implementations
sourceimpl Ord for EventName
impl Ord for EventName
sourceimpl PartialOrd<EventName> for EventName
impl PartialOrd<EventName> for EventName
sourcefn partial_cmp(&self, other: &EventName) -> Option<Ordering>
fn partial_cmp(&self, other: &EventName) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Eq for EventName
impl StructuralEq for EventName
impl StructuralPartialEq for EventName
Auto Trait Implementations
impl RefUnwindSafe for EventName
impl Send for EventName
impl Sync for EventName
impl Unpin for EventName
impl UnwindSafe for EventName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more