Skip to main content

Make3

Trait Make3 

Source
pub trait Make3<Arg1, Arg2, Arg3>: Sized {
    // Required method
    fn make_3(arg1: Arg1, arg2: Arg2, arg3: Arg3) -> Self;

    // Provided method
    fn make(arg1: Arg1, arg2: Arg2, arg3: Arg3) -> Self { ... }
}
Expand description

Constructor with three arguments.

Required Methods§

Source

fn make_3(arg1: Arg1, arg2: Arg2, arg3: Arg3) -> Self

Constructor with three arguments.

Provided Methods§

Source

fn make(arg1: Arg1, arg2: Arg2, arg3: Arg3) -> Self

Constructor with three arguments.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Make3<Attribute, Attribute, Attribute> for AttributesInner

Source§

impl Make3<Attribute, Attribute, Attribute> for AttributesOuter

Source§

impl<T: ToTokens> Make3<T, T, T> for proc_macro_tools::Many<T>

Source§

impl<T> Make3<T, T, T> for proc_macro_tools::prelude::Many<T>