Imply

Trait Imply 

Source
pub trait Imply<T>: ImplyInner<T, Is = T> { }
Expand description

Creates an implied bound when applied as a supertrait.

trait MyTrait<T>: Imply<T, Is: Bound> {} // Implies T: Bound

Implementors§

Source§

impl<T, U> Imply<T> for U