LibrePCB Developers Documentation
|
Scoped pointer for Rust objects. More...
#include <rusthandle.h>
Public Types | |
typedef void(* | Deleter) (T *) |
Public Member Functions | |
RustHandle ()=delete | |
RustHandle (const RustHandle &other)=delete | |
RustHandle & | operator= (const RustHandle &rhs)=delete |
RustHandle (T &obj, Deleter deleter) noexcept | |
RustHandle (RustHandle &&other) noexcept | |
~RustHandle () noexcept | |
const T * | operator* () const noexcept |
T * | operator* () noexcept |
Public Attributes | |
T * | mObj |
Deleter | mDeleter |
Scoped pointer for Rust objects.
typedef void(* Deleter) (T *) |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
T* mObj |
Deleter mDeleter |