pub struct Event<T>where
    T: 'static + ?Sized,{
    pub data: Rc<T>,
    /* private fields */
}Expand description
Fields§
§data: Rc<T>The data associated with this event
Implementations§
source§impl<T> Event<T>
 
impl<T> Event<T>
sourcepub fn cancel_bubble(&self)
 👎Deprecated: use stop_propagation instead
pub fn cancel_bubble(&self)
sourcepub fn stop_propagation(&self)
 
pub fn stop_propagation(&self)
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Event<T>
impl<T> !Send for Event<T>
impl<T> !Sync for Event<T>
impl<T: ?Sized> Unpin for Event<T>
impl<T> !UnwindSafe for Event<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
 
impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
source§fn super_from(input: T) -> O
 
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
 
impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
source§fn super_into(self) -> O
 
fn super_into(self) -> O
Convert from a type to another type.