vstd::function

Trait ExProofFnSpecification

Source
pub trait ExProofFnSpecification<Args, Output> {
    type ExternalTraitSpecificationFor: ProofFnReqEnsDef<Args, Output>;

    // Required methods
    spec fn req(_args: Args) -> bool;
    spec fn ens(_args: Args, _output: Output) -> bool;
}

Required Associated Types§

Required Methods§

Source

spec fn req(_args: Args) -> bool

Source

spec fn ens(_args: Args, _output: Output) -> bool

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.

Implementors§