pub trait AggFunc {
type State: Default;
const NAME: &'static str;
const ARGS: i32;
// Required methods
fn step(state: &mut Self::State, args: &[Value]);
fn finalize(state: Self::State) -> Value;
}Required Associated Constants§
Required Associated Types§
Required Methods§
fn step(state: &mut Self::State, args: &[Value])
fn finalize(state: Self::State) -> Value
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.