Trait reflike::Ref
[−]
[src]
pub trait Ref<'a, T> { fn from_ref(val: &'a T) -> Self; }
A trait for things that are "close enough" to &'a T
.
Required Methods
fn from_ref(val: &'a T) -> Self
Obtains this value from a reference, showing that it's possible.