pub(super) trait GreatestLeastOperator {
const NAME: &'static str;
// Required methods
fn keep_scalar<'a>(
lhs: &'a ScalarValue,
rhs: &'a ScalarValue,
) -> Result<&'a ScalarValue>;
fn get_indexes_to_keep(
lhs: &dyn Array,
rhs: &dyn Array,
) -> Result<BooleanArray>;
}Required Associated Constants§
Required Methods§
fn keep_scalar<'a>( lhs: &'a ScalarValue, rhs: &'a ScalarValue, ) -> Result<&'a ScalarValue>
Sourcefn get_indexes_to_keep(lhs: &dyn Array, rhs: &dyn Array) -> Result<BooleanArray>
fn get_indexes_to_keep(lhs: &dyn Array, rhs: &dyn Array) -> Result<BooleanArray>
Return array with true for values that we should keep from the lhs array
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.