Trait FnWithRequiresEnsures
pub trait FnWithRequiresEnsures<Args, Output>: Sized {
// Required methods
fn requires(self, args: Args) -> bool;
fn ensures(self, args: Args, output: Output) -> bool;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<Args, Output, F> FnWithRequiresEnsures<Args, Output> for F
Available on
verus_keep_ghost only.