pub struct Judge<'a> {
pub base: WhenContext,
pub hooks: &'a Hooks,
pub say: &'a dyn Fn(&Field, Check) -> String,
}Expand description
What a flow needs to judge its steps: the application’s context keys, the hooks, and the words of a field’s own checks.
Fields§
§base: WhenContext§hooks: &'a Hooks§say: &'a dyn Fn(&Field, Check) -> StringTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Judge<'a>
impl<'a> !RefUnwindSafe for Judge<'a>
impl<'a> !Send for Judge<'a>
impl<'a> !Sync for Judge<'a>
impl<'a> Unpin for Judge<'a>
impl<'a> UnsafeUnpin for Judge<'a>
impl<'a> !UnwindSafe for Judge<'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