MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
nanobind::detail::MlirDefaultingCaster< DefaultingTy > Struct Template Reference

#include "Bindings/Python/NanobindUtils.h"

+ Inheritance diagram for nanobind::detail::MlirDefaultingCaster< DefaultingTy >:

Public Member Functions

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

Static Public Member Functions

static handle from_cpp (DefaultingTy src, rv_policy policy, cleanup_list *cleanup) noexcept
 

Detailed Description

template<typename DefaultingTy>
struct nanobind::detail::MlirDefaultingCaster< DefaultingTy >

Definition at line 69 of file NanobindUtils.h.

Member Function Documentation

◆ from_cpp()

template<typename DefaultingTy >
static handle nanobind::detail::MlirDefaultingCaster< DefaultingTy >::from_cpp ( DefaultingTy  src,
rv_policy  policy,
cleanup_list *  cleanup 
)
inlinestaticnoexcept

Definition at line 94 of file NanobindUtils.h.

◆ from_python()

template<typename DefaultingTy >
bool nanobind::detail::MlirDefaultingCaster< DefaultingTy >::from_python ( handle  src,
uint8_t  flags,
cleanup_list *  cleanup 
)
inline

Definition at line 72 of file NanobindUtils.h.


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