pub struct StateAcceptanceEval<'a> { /* private fields */ }Expand description
An [AcceptanceEval<P>] backed by a shared reference to a live
EncounterArgumentationState.
The eval uses EncounterArgumentationState::has_accepted_counter_by
to decide whether the responder has a credulously-accepted counter
to the proposed action’s argument at current β. If the action has
no seeded argument in the state, the eval accepts (falls back to
permissive — there’s no argumentation claim against which to
adjudicate).
Implementations§
Source§impl<'a> StateAcceptanceEval<'a>
impl<'a> StateAcceptanceEval<'a>
Sourcepub fn new(state: &'a EncounterArgumentationState) -> Self
pub fn new(state: &'a EncounterArgumentationState) -> Self
Construct an acceptance eval borrowing the given state.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StateAcceptanceEval<'a>
impl<'a> RefUnwindSafe for StateAcceptanceEval<'a>
impl<'a> Send for StateAcceptanceEval<'a>
impl<'a> Sync for StateAcceptanceEval<'a>
impl<'a> Unpin for StateAcceptanceEval<'a>
impl<'a> UnsafeUnpin for StateAcceptanceEval<'a>
impl<'a> UnwindSafe for StateAcceptanceEval<'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