Skip to main content

IntoRefWithContext

Trait IntoRefWithContext 

Source
pub trait IntoRefWithContext<'a, U: ?Sized, C: ?Sized> {
    // Required method
    fn into_ref_with(self, context: &'a C) -> &'a U;
}

Required Methods§

Source

fn into_ref_with(self, context: &'a C) -> &'a U

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§