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§
§impl<T> Event<T>
impl<T> Event<T>
pub fn cancel_bubble(&self)
👎Deprecated: use stop_propagation instead
pub fn cancel_bubble(&self)
pub 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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer