Trait From2

Source
pub trait From2<T1, T2>: Sized {
    // Required method
    fn from2(a1: T1, a2: T2) -> Self;
}
Expand description

Trait for converting from two arguments.

Required Methods§

Source

fn from2(a1: T1, a2: T2) -> Self

Converts from two arguments.

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§