pub trait Container<C: Columnar + ?Sized> {
type Borrowed<'a>: Copy + Len + AsBytes<'a> + FromBytes<'a> + Index<Ref = C::Ref<'a>>
where Self: 'a;
// Required method
fn borrow<'a>(&'a self) -> Self::Borrowed<'a>;
}
Expand description
A container that can hold C
, and provide its preferred references.
As an example, (Vec<A>, Vecs<Vec<B>>)
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.