Function datafusion_physical_expr::aggregate::utils::down_cast_any_ref
source · pub fn down_cast_any_ref(any: &dyn Any) -> &dyn Any
Expand description
Downcast a Box<dyn AggregateExpr>
or Arc<dyn AggregateExpr>
and return the inner trait object as Any
so
that it can be downcast to a specific implementation.
This method is used when implementing the PartialEq<dyn Any>
for AggregateExpr
aggregation expressions and allows comparing the equality
between the trait objects.