pub trait AsCppRef<T: ?Sized> {
// Required method
fn as_cpp_ref(&self) -> CppRef<T>;
}Expand description
Any type which can return a C++ reference to its contents.
Required Methods§
Sourcefn as_cpp_ref(&self) -> CppRef<T>
fn as_cpp_ref(&self) -> CppRef<T>
Returns a reference which obeys C++ reference semantics
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".