Struct dioxus_core::prelude::Event
source · pub struct Event<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