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