Trait iter_trait::refs::Ref
[−]
[src]
pub trait Ref<'a, T> { fn convert(val: &'a T) -> Self; }
Marker that states that Self
can be obtained from the reference &'a T
.
Required Methods
fn convert(val: &'a T) -> Self
Performs the conversion, showing that it is possible.