IntoSpec

Trait IntoSpec 

Source
pub trait IntoSpec<T>: Sized + Into<T> {
    // Required methods
    spec fn obeys_into_spec() -> bool;
    spec fn into_spec(self) -> T;
}

Required Methods§

Source

spec fn obeys_into_spec() -> bool

Source

spec fn into_spec(self) -> T

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§

Source§

impl<T, VERUS_SPEC__A: Into<T> + Sized> IntoSpec<T> for VERUS_SPEC__A