Trait outref::AsOut

source ·
pub unsafe trait AsOut<T: ?Sized> {
    fn as_out(&mut self) -> Out<'_, T>;
}
Expand description

Extension trait for converting a mutable reference to an out reference.

Safety

This trait can be trusted to be implemented correctly for all types.

Required Methods§

Returns an out reference to self.

Implementations on Foreign Types§

Implementors§