IntoSpecImpl

Trait IntoSpecImpl 

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

Required Methods§

Source

exec fn obeys_into_spec() -> bool

Source

exec 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, U: From<T>> IntoSpecImpl<U> for T