pub struct Inference {
pub pre: Option<String>,
pub weakest: bool,
pub examples: (usize, usize),
pub report: Option<Report>,
}Expand description
The outcome of inference.
Fields§
§pre: Option<String>The precondition found, in the transformation syntax. None when none is needed
(then the report is valid), when none separates the examples, or when there are no
symbolic constants (then there is no report).
weakest: boolWhether it admits every valid example (so it is the weakest the vocabulary can say at the widths sampled).
examples: (usize, usize)Valid and invalid examples seen.
report: Option<Report>The verification of the transformation with the precondition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inference
impl RefUnwindSafe for Inference
impl Send for Inference
impl Sync for Inference
impl Unpin for Inference
impl UnsafeUnpin for Inference
impl UnwindSafe for Inference
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