pub struct Case {
pub name: String,
pub answers: BTreeMap<ImplId, Answer>,
pub agreement: Vec<Vec<ImplId>>,
pub agreed: bool,
pub wrong: Vec<ImplId>,
}Expand description
How one case went.
Fields§
§name: StringThe case’s name.
answers: BTreeMap<ImplId, Answer>What each proof said.
agreement: Vec<Vec<ImplId>>Proofs grouped by what they said, so a disagreement shows its sides.
agreed: boolWhether every proof that ran said the same thing.
wrong: Vec<ImplId>Proofs that disagreed with the expected answer, where one was given.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Case
impl Freeze for Casewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<ImplId, Answer> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ImplId, Answer)>>: Freeze,
PhantomData<Vec<ImplId>>: Freeze,
PhantomData<ImplId>: Freeze,
impl Move for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Casewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<ImplId, Answer> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ImplId, Answer)>>: UnsafeUnpin,
PhantomData<Vec<ImplId>>: UnsafeUnpin,
PhantomData<ImplId>: UnsafeUnpin,
impl UnwindSafe for Case
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