Trait autocxx::PinMut

source ·
pub trait PinMut<T>: AsRef<T> {
    // Required method
    fn pin_mut(&mut self) -> Pin<&mut T>;
}
Expand description

Equivalent to std::convert::AsMut, but returns a pinned mutable reference such that cxx methods can be called on it.

Required Methods§

source

fn pin_mut(&mut self) -> Pin<&mut T>

Return a pinned mutable reference to a type.

Implementors§