Skip to main content

MapTypeRef

Trait MapTypeRef 

Source
pub trait MapTypeRef {
    type Map<'a, T: 'a>: 'a;
}

Required Associated Types§

Source

type Map<'a, T: 'a>: 'a

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl MapTypeRef for IsMut

Source§

type Map<'a, T: 'a> = &'a mut T

Source§

impl MapTypeRef for IsOwned

Source§

type Map<'a, T: 'a> = T

Source§

impl MapTypeRef for IsRef

Source§

type Map<'a, T: 'a> = &'a T