pub trait View<'a> {
type Superset;
// Required method
fn split(orig: Self::Superset) -> Self;
}
Expand description
Traits for types which represent a view or subset of some other type.
pub trait View<'a> {
type Superset;
// Required method
fn split(orig: Self::Superset) -> Self;
}
Traits for types which represent a view or subset of some other type.