pub trait Projectable<T, F: Field<T>> {
type Target;
// Required method
unsafe fn project(self) -> Self::Target;
}
Expand description
Trait for a wrapper type that can be projected to a field.
F
is a descriptor of a field (FieldName
with some generic parameters).