pub struct EffectCtx<'a> {
pub target: Option<&'a dyn Any>,
pub chain: Option<&'a mut ChainFlags>,
pub caps: &'a mut TypeMap,
}Expand description
Mutable context for an Effect.
Fields§
§target: Option<&'a dyn Any>Effect target.
chain: Option<&'a mut ChainFlags>Chain flags, or None outside a chain.
caps: &'a mut TypeMapServices available to the effect.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EffectCtx<'a>
impl<'a> !Send for EffectCtx<'a>
impl<'a> !Sync for EffectCtx<'a>
impl<'a> !UnwindSafe for EffectCtx<'a>
impl<'a> Freeze for EffectCtx<'a>
impl<'a> Unpin for EffectCtx<'a>
impl<'a> UnsafeUnpin for EffectCtx<'a>
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