pub struct TotalFunc;Trait Implementations§
Source§impl AggregateFunction for TotalFunc
impl AggregateFunction for TotalFunc
Source§type State = TotalState
type State = TotalState
The per-group accumulator type.
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 TotalFunc
impl RefUnwindSafe for TotalFunc
impl Send for TotalFunc
impl Sync for TotalFunc
impl Unpin for TotalFunc
impl UnsafeUnpin for TotalFunc
impl UnwindSafe for TotalFunc
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