pub struct Event { /* private fields */ }Expand description
Base event class for all ink events. Supports stop_immediate_propagation() to prevent downstream listeners from firing.
Implementations§
Source§impl Event
impl Event
pub fn new() -> Self
pub fn did_stop_immediate_propagation(&self) -> bool
pub fn stop_immediate_propagation(&self)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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