pub trait From_1<Arg>: Sized {
    // Required method
    fn from_1(arg: Arg) -> Self;
}
Expand description

Constructor with single argument.

Required Methods§

source

fn from_1(arg: Arg) -> Self

Constructor without arguments.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T1, T2, All> From_1<(T1, T2)> for All
where All: From_2<T1, T2>,

source§

impl<T1, T2, T3, All> From_1<(T1, T2, T3)> for All
where All: From_3<T1, T2, T3>,

source§

impl<T, All> From_1<(T,)> for All
where All: From_1<T>,