3 pub trait Yokeable<'a>: 'static {
7 impl<'a, T: 'static + ?Sized> Yokeable<'a> for &'static T {
11 pub trait ZeroCopyFrom<C: ?Sized>: for<'a> Yokeable<'a> {
12 /// Clone the cart `C` into a [`Yokeable`] struct, which may retain references into `C`.
13 fn zero_copy_from<'b>(cart: &'b C) -> <Self as Yokeable<'b>>::Output;
16 impl<T> ZeroCopyFrom<[T]> for &'static [T] {
17 fn zero_copy_from<'b>(cart: &'b [T]) -> &'b [T] {