| 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 35 of file impeller.hpp.

## Member Typedef Documentation

## ◆ FunctionType

template<class T >

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

Definition at line 36 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 43 of file impeller.hpp.

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

## Member Data Documentation

## ◆ function

template<class T >

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

Definition at line 40 of file impeller.hpp.

## ◆ name

template<class T >

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

Definition at line 38 of file impeller.hpp.

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

- impeller/toolkit/interop/impeller.hpp