Traits§
- The
Yokeable<'a>
trait is implemented on the'static
version of any zero-copy type; for example,Cow<'static, T>
implementsYokeable<'a>
(for all'a
). One can useYokeable::Output
on this trait to obtain the “lifetime’d” value of theCow<'static, T>
, e.g.<Cow<'static, T> as Yokeable<'a>'>::Output
isCow<'a, T>
.