ImmutablyReferences

Type Alias ImmutablyReferences 

Source
pub type ImmutablyReferences<'a, T> = PhantomData<&'a T>;
Expand description

Alias for phantom &'a T. Both parameters are covariant.

If you do not have a lifetime handy, you could use HasImmPtrTo.

See the crate root documentation for details on variance.

Aliased Typeยง

pub struct ImmutablyReferences<'a, T>;