vstd::std_specs::core

Trait ExFrom

Source
pub trait ExFrom<T>: Sized {
    type ExternalTraitSpecificationFor: From<T>;

    // Required method
    exec fn from(v: T) -> ret : Self;
}

Required Associated Types§

Required Methods§

Source

exec fn from(v: T) -> ret : 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§