pub struct QueryCtx<'a> {
pub target: Option<&'a dyn Any>,
pub chain: Option<&'a ChainFlags>,
pub caps: &'a TypeMap,
}Expand description
Read-only context for a Condition.
Fields§
§target: Option<&'a dyn Any>Subject of the query.
chain: Option<&'a ChainFlags>Chain flags, or None outside a chain.
caps: &'a TypeMapServices available to the condition.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for QueryCtx<'a>
impl<'a> !Send for QueryCtx<'a>
impl<'a> !Sync for QueryCtx<'a>
impl<'a> !UnwindSafe for QueryCtx<'a>
impl<'a> Freeze for QueryCtx<'a>
impl<'a> Unpin for QueryCtx<'a>
impl<'a> UnsafeUnpin for QueryCtx<'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