| Flutter Impeller |

Public Types | Public Member Functions | Public Attributes | List of all members
IMPELLER_HPP_NAMESPACE::Proc< T > Struct Template Reference

`#include <impeller.hpp>`

## Public Types
using | FunctionType = T

## Public Member Functions
template<class... Args>
auto | operator() (Args &&... args) const

## Public Attributes
const char * | name = nullptr
FunctionType * | function = nullptr

## Detailed Description

### template<class T>
struct IMPELLER_HPP_NAMESPACE::Proc< T >

Definition at line 34 of file impeller.hpp.

## Member Typedef Documentation

## ◆ FunctionType

template<class T >

using IMPELLER_HPP_NAMESPACE::Proc< T >::FunctionType = T

Definition at line 35 of file impeller.hpp.

## Member Function Documentation

## ◆ operator()()

template<class T >
template<class... Args>

auto IMPELLER_HPP_NAMESPACE::Proc< T >::operator() | ( | Args &&... | args | ) | const
| inline

Definition at line 42 of file impeller.hpp.

42 {
43 return function(std::forward<Args>(args)...);
44 }

## Member Data Documentation

## ◆ function

template<class T >

FunctionType* IMPELLER_HPP_NAMESPACE::Proc< T >::function = nullptr

Definition at line 39 of file impeller.hpp.

## ◆ name

template<class T >

const char* IMPELLER_HPP_NAMESPACE::Proc< T >::name = nullptr

Definition at line 37 of file impeller.hpp.

The documentation for this struct was generated from the following file:

- impeller/toolkit/interop/impeller.hpp