Trait From1

Source
pub trait From1<T1>
where Self: Sized,
{ // Required method fn from1(a1: T1) -> Self; }
Expand description

Trait for converting from one argument.

Required Methods§

Source

fn from1(a1: T1) -> Self

Converts from one argument.

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§