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

Performs the conversion, showing that it is possible.

Implementors