Trait radn::mode::FromRef

source ·
pub trait FromRef<T: ?Sized>: for<'a> From<&'a T> {
    // Provided method
    fn from_ref(value: &T) -> Self { ... }
}
Expand description

From for references (of any lifetime).

Provided Methods§

source

fn from_ref(value: &T) -> Self

From::from(&'a T) but without specific 'a.

Implementors§

source§

impl<T: ?Sized, U: for<'a> From<&'a T>> FromRef<T> for U