[][src]Macro typsy::call

macro_rules! call {
    () => { ... };
    (
        fn $( [ $($generics:tt)* ] )? ( $self:ident : $Self:ty $( $(, $args:ident : $args_ty:ty)+ $(,)?)? ) $(-> $output:ty)?
        $(where ($($where_clause:tt)*))?
        {
            $($body:tt)*
        }

        $($rest:tt)*
    ) => { ... };
    (
        fn $( [ $($generics:tt)* ] )? (&mut $self:ident : $Self:ty $( $(, $args:ident : $args_ty:ty)+ $(,)?)? ) $(-> $output:ty)?
        $(where ($($where_clause:tt)*))?
        {
            $($body:tt)*
        }

        $($rest:tt)*
    ) => { ... };
    (
        fn $( [ $($generics:tt)* ] )? (&$self:ident : $Self:ty $( $(, $args:ident : $args_ty:ty)+ $(,)?)? ) $(-> $output:ty)?
        $(where ($($where_clause:tt)*))?
        {
            $($body:tt)*
        }

        $($rest:tt)*
    ) => { ... };
}