Skip to main content

SameAs

Trait SameAs 

Source
pub trait SameAs<T> { }
Expand description

Helper trait used to encode type equality constraints in the associated type bounds of Parameterized. A type X implements SameAs<Y> only when X and Y are the exact same type.

Implementors§

Source§

impl<T> SameAs<T> for T