pub struct Chain<T, U>(/* private fields */);Expand description
Chain evaluator, see EvaluatorExt::chain.
Trait Implementations§
Source§impl<T: Evaluator, U: Evaluator> Evaluator for Chain<T, U>
impl<T: Evaluator, U: Evaluator> Evaluator for Chain<T, U>
Source§fn is_enabled(&self, feature: &str, context: &Context) -> Option<bool>
fn is_enabled(&self, feature: &str, context: &Context) -> Option<bool>
Checks if a feature is enabled in the given context. Read more
Source§fn on_registration(&self)
fn on_registration(&self)
Called when the evaluator is registered. Read more
Source§fn on_new_context(&self, context: ContextRef<'_>, fields: Fields<'_>)
fn on_new_context(&self, context: ContextRef<'_>, fields: Fields<'_>)
Called when a new context is created. Read more
Source§fn on_close_context(&self, context: ContextRef<'_>)
fn on_close_context(&self, context: ContextRef<'_>)
Called when a context is closed. Read more
Source§fn into_ref(self) -> EvaluatorRefwhere
Self: Sized + 'static,
fn into_ref(self) -> EvaluatorRefwhere
Self: Sized + 'static,
Converts the evaluator into an
EvaluatorRef. Read moreAuto Trait Implementations§
impl<T, U> Freeze for Chain<T, U>
impl<T, U> RefUnwindSafe for Chain<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Chain<T, U>
impl<T, U> Sync for Chain<T, U>
impl<T, U> Unpin for Chain<T, U>
impl<T, U> UnwindSafe for Chain<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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