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