Crate cpp_utils [−] [src]
Various C++-related types and functions needed for the cpp_to_rust project.
Modules
| new_uninitialized |
This module contains |
Structs
| CppBox |
A C++ pointer wrapper to manage deletion of objects. |
Traits
| CppDeletable |
Indicates that the type can be put into a CppBox. |
| DynamicCast |
Provides access to C++ |
| StaticCast |
Provides access to C++ |
| UnsafeStaticCast |
Provides access to C++ |
Functions
| dynamic_cast⚠ |
Converts type of a const pointer using |
| dynamic_cast_mut⚠ |
Converts type of a mutable pointer using |
| static_cast |
Converts type of a const pointer using |
| static_cast_mut |
Converts type of a mutable pointer using |
| unsafe_static_cast⚠ |
Converts type of a const pointer using |
| unsafe_static_cast_mut⚠ |
Converts type of a mutable pointer using |
Type Definitions
| Deleter |
Deleter function type. |