pub struct DepEvent<Owner: DepType, ArgsType: DepEventArgs> { /* private fields */ }
Implementations
sourceimpl<Owner: DepType, ArgsType: DepEventArgs> DepEvent<Owner, ArgsType>
impl<Owner: DepType, ArgsType: DepEventArgs> DepEvent<Owner, ArgsType>
pub fn offset(self) -> usize
pub fn raise<X: Convenient>(
self,
state: &mut dyn State,
id: Owner::Id,
args: ArgsType
) -> Re<X> where
Owner::Id: DepObj<Owner::DepObjKey, Owner>,
pub fn source(self, id: Owner::Id) -> DepEventSource<Owner, ArgsType> where
Owner::Id: DepObj<Owner::DepObjKey, Owner>,
Trait Implementations
sourceimpl<Owner: DepType, ArgsType: DepEventArgs> Clone for DepEvent<Owner, ArgsType>
impl<Owner: DepType, ArgsType: DepEventArgs> Clone for DepEvent<Owner, ArgsType>
sourceimpl<Owner: DepType, ArgsType: DepEventArgs> Debug for DepEvent<Owner, ArgsType>
impl<Owner: DepType, ArgsType: DepEventArgs> Debug for DepEvent<Owner, ArgsType>
impl<Owner: DepType, ArgsType: DepEventArgs> Copy for DepEvent<Owner, ArgsType>
Auto Trait Implementations
impl<Owner, ArgsType> RefUnwindSafe for DepEvent<Owner, ArgsType> where
ArgsType: RefUnwindSafe,
Owner: RefUnwindSafe,
impl<Owner, ArgsType> Send for DepEvent<Owner, ArgsType>
impl<Owner, ArgsType> Sync for DepEvent<Owner, ArgsType>
impl<Owner, ArgsType> Unpin for DepEvent<Owner, ArgsType>
impl<Owner, ArgsType> UnwindSafe for DepEvent<Owner, ArgsType> where
ArgsType: UnwindSafe,
Owner: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more