MLIR  21.0.0git
Public Member Functions | Static Public Member Functions | List of all members
nanobind::detail::type_caster< MlirTypeID > Struct Reference

Casts object <-> MlirTypeID. More...

#include "mlir/Bindings/Python/NanobindAdaptors.h"

Public Member Functions

bool from_python (handle src, uint8_t flags, cleanup_list *cleanup)
 

Static Public Member Functions

static handle from_cpp (MlirTypeID v, rv_policy, cleanup_list *cleanup) noexcept
 

Detailed Description

Casts object <-> MlirTypeID.

Definition at line 285 of file NanobindAdaptors.h.

Member Function Documentation

◆ from_cpp()

static handle nanobind::detail::type_caster< MlirTypeID >::from_cpp ( MlirTypeID  v,
rv_policy  ,
cleanup_list *  cleanup 
)
inlinestaticnoexcept

◆ from_python()

bool nanobind::detail::type_caster< MlirTypeID >::from_python ( handle  src,
uint8_t  flags,
cleanup_list *  cleanup 
)
inline

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