pub trait SelectFieldByLabel<Label> {
type DType;
type Output: DataIndex<DType = Self::DType>;
// Required method
fn select_field(&self) -> Self::Output;
}Expand description
Trait implemented by data structures to provide access to data for a single field.
Required Associated Types§
Required Methods§
Sourcefn select_field(&self) -> Self::Output
fn select_field(&self) -> Self::Output
Returns an object that provides DataIndex access to the
data in the field specified by Label.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".