pub struct Review { /* private fields */ }Expand description
A reply read sentence by sentence, before it is finished.
Implementations§
Source§impl Review
impl Review
pub fn sentences(&self) -> &[Sentence]
Sourcepub fn to_verify(&self) -> Vec<(usize, &str)>
pub fn to_verify(&self) -> Vec<(usize, &str)>
The sentences a model may confirm (Reason::may_be_confirmed), by index.
Sourcepub fn confirm(&mut self, index: usize)
pub fn confirm(&mut self, index: usize)
Keeps sentence index after all: a model found it in the facts. Sentences whose reason
may not be confirmed stay out.
pub fn finish(self) -> Checked
Trait Implementations§
Auto Trait Implementations§
impl Forget for Review
impl Freeze for Reviewwhere
*const u8 is !null: Freeze,
PhantomData<Sentence>: Freeze,
PhantomData<f64>: Freeze,
PhantomData<&'static str>: Freeze,
impl Move for Review
impl RefUnwindSafe for Review
impl Send for Review
impl Sync for Reviewwhere
RawVecInner: Sync,
impl Unpin for Review
impl UnsafeUnpin for Reviewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Sentence>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
impl UnwindSafe for Review
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