variadic_from::variadic::own

Trait From1

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

Constructor with single argument.

Required Methods§

Source

fn from1(arg: Arg) -> Self

Constructor with a single 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§

Source§

impl<All> From1<()> for All
where All: Default,

Source§

impl<T1, T2, All> From1<(T1, T2)> for All
where All: From2<T1, T2>,

Source§

impl<T1, T2, T3, All> From1<(T1, T2, T3)> for All
where All: From3<T1, T2, T3>,

Source§

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