ExInto

Trait ExInto 

Source
pub trait ExInto<T>: Sized {
    type ExternalTraitSpecificationFor: Into<T>;

    // Required methods
    spec fn obeys_into_spec() -> bool;
    spec fn into_spec(self) -> T;
    exec fn into(self) -> ret : T;
}

Required Associated Types§

Required Methods§

Source

spec fn obeys_into_spec() -> bool

Source

spec fn into_spec(self) -> T

Source

exec fn into(self) -> ret : T

ensures
Self::obeys_into_spec() ==> ret == Self::into_spec(self),

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§