Trait autocxx::AsCppMutRef

source ·
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§

source

fn as_cpp_mut_ref(&mut self) -> CppMutRef<'_, T>

Returns a mutable reference which obeys C++ reference semantics

Implementors§