pub enum EventPhase {
None,
Capture,
Target,
Bubble,
}Expand description
Event propagation phase
Variants§
None
Not dispatched yet
Capture
Capture phase: root to target
Target
At the target element
Bubble
Bubble phase: target to root
Trait Implementations§
Source§impl Clone for EventPhase
impl Clone for EventPhase
Source§fn clone(&self) -> EventPhase
fn clone(&self) -> EventPhase
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventPhase
impl Debug for EventPhase
Source§impl Default for EventPhase
impl Default for EventPhase
Source§fn default() -> EventPhase
fn default() -> EventPhase
Returns the “default value” for a type. Read more
Source§impl PartialEq for EventPhase
impl PartialEq for EventPhase
impl Copy for EventPhase
impl Eq for EventPhase
impl StructuralPartialEq for EventPhase
Auto Trait Implementations§
impl Freeze for EventPhase
impl RefUnwindSafe for EventPhase
impl Send for EventPhase
impl Sync for EventPhase
impl Unpin for EventPhase
impl UnwindSafe for EventPhase
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)