pub struct TriggerContext {
pub event_key: EventKey,
pub caller: MaybeLocation,
}Expand description
Fields§
§event_key: EventKeyThe EventKey the trigger targeted.
caller: MaybeLocationThe location of the source code that triggered the observer.
Auto Trait Implementations§
impl Freeze for TriggerContext
impl RefUnwindSafe for TriggerContext
impl Send for TriggerContext
impl Sync for TriggerContext
impl Unpin for TriggerContext
impl UnwindSafe for TriggerContext
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.