Macro dock_core::impl_tuple

source ·
macro_rules! impl_tuple {
    (
        @ $method: ident$(<$($gen: ident),+>)?
            ($($arg: ident: $arg_ty: ty),*) => using $combine: ident for $main: ident) => { ... };
    (
        @ $method: ident$(<$($gen: ident),+>)?
            ($($arg: ident: $arg_ty: ty),*) => using $combine: ident for $main: ident $($ty: ident)+) => { ... };
    (
        $trait: ident$(<$($trait_gen: ident),+>)?
            ::$method: ident$(<$($gen: ident),+>)?
            ($($arg: ident: $arg_ty: ty),*) -> $ret_ty: ty => using $combine: ident for $($ty: ident)*
                $(=> where $($where_tt: tt)+)?
            ) => { ... };
}
Expand description

Implements given trait for the tuple type.