Skip to main content

OutMethod

Trait OutMethod 

Source
pub trait OutMethod {
    // Provided method
    fn out(&mut self) -> Out<'_, Self> { ... }
}
Expand description

Used to create an Out reference, for all types

Provided Methods§

Source

fn out(&mut self) -> Out<'_, Self>

creates an Out ref

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: ?Sized> OutMethod for T