pub trait Proof {
type Proves: Formula;
const LENGTH: usize;
// Required method
fn display_offset(start_line_num: usize) -> String;
// Provided method
fn display() -> String { ... }
}Expand description
A sequence of statements that prove a formula.
See the module documentation for more info.
Required Associated Constants§
Required Associated Types§
Required Methods§
Sourcefn display_offset(start_line_num: usize) -> String
fn display_offset(start_line_num: usize) -> String
Displays the proof as a string, with line numbers starting from start_line_num.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.