pub struct AvgFunc;Trait Implementations§
Source§impl AggregateFunction for AvgFunc
impl AggregateFunction for AvgFunc
Source§fn initial_state(&self) -> Self::State
fn initial_state(&self) -> Self::State
Create a fresh accumulator (zero/identity state).
Source§fn step(&self, state: &mut Self::State, args: &[SqliteValue]) -> Result<()>
fn step(&self, state: &mut Self::State, args: &[SqliteValue]) -> Result<()>
Process one row, updating the accumulator.
Auto Trait Implementations§
impl Freeze for AvgFunc
impl RefUnwindSafe for AvgFunc
impl Send for AvgFunc
impl Sync for AvgFunc
impl Unpin for AvgFunc
impl UnsafeUnpin for AvgFunc
impl UnwindSafe for AvgFunc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more