pub struct PercentileInc;Trait Implementations§
Source§impl Debug for PercentileInc
impl Debug for PercentileInc
Source§impl Function for PercentileInc
impl Function for PercentileInc
fn name(&self) -> &'static str
Source§fn aliases(&self) -> &'static [&'static str]
fn aliases(&self) -> &'static [&'static str]
Optional list of additional alias names (case-insensitive) that should resolve to this
function. Default: empty slice. Implementors can override to expose legacy names.
Returned slice must have ’static lifetime (typically a static array reference).
fn min_args(&self) -> usize
fn variadic(&self) -> bool
fn arg_schema(&self) -> &'static [ArgSchema]
Source§fn eval_scalar<'a, 'b>(
&self,
args: &'a [ArgumentHandle<'a, 'b>],
_ctx: &dyn FunctionContext,
) -> Result<LiteralValue, ExcelError>
fn eval_scalar<'a, 'b>( &self, args: &'a [ArgumentHandle<'a, 'b>], _ctx: &dyn FunctionContext, ) -> Result<LiteralValue, ExcelError>
The default, scalar evaluation path. Read more
fn namespace(&self) -> &'static str
fn volatile(&self) -> bool
fn function_salt(&self) -> u64
Source§fn eval_fold(
&self,
_f: &mut dyn FnFoldCtx,
) -> Option<Result<LiteralValue, ExcelError>>
fn eval_fold( &self, _f: &mut dyn FnFoldCtx, ) -> Option<Result<LiteralValue, ExcelError>>
Source§fn eval_map(
&self,
_m: &mut dyn FnMapCtx,
) -> Option<Result<LiteralValue, ExcelError>>
fn eval_map( &self, _m: &mut dyn FnMapCtx, ) -> Option<Result<LiteralValue, ExcelError>>
Source§fn eval_window<'a, 'b>(
&self,
_w: &mut SimpleWindowCtx<'a, 'b>,
) -> Option<Result<LiteralValue, ExcelError>>
fn eval_window<'a, 'b>( &self, _w: &mut SimpleWindowCtx<'a, 'b>, ) -> Option<Result<LiteralValue, ExcelError>>
An optional, optimized path for windowed functions (e.g.,
MOVING_AVERAGE). Read moreSource§fn eval_reference<'a, 'b>(
&self,
_args: &'a [ArgumentHandle<'a, 'b>],
_ctx: &dyn FunctionContext,
) -> Option<Result<ReferenceType, ExcelError>>
fn eval_reference<'a, 'b>( &self, _args: &'a [ArgumentHandle<'a, 'b>], _ctx: &dyn FunctionContext, ) -> Option<Result<ReferenceType, ExcelError>>
Optional reference result path. Only called by the interpreter/engine
when the callsite expects a reference (e.g., range combinators, by-ref
argument positions, or spill sources). Read more
Source§fn dispatch<'a, 'b>(
&self,
args: &'a [ArgumentHandle<'a, 'b>],
ctx: &dyn FunctionContext,
) -> Result<LiteralValue, ExcelError>
fn dispatch<'a, 'b>( &self, args: &'a [ArgumentHandle<'a, 'b>], ctx: &dyn FunctionContext, ) -> Result<LiteralValue, ExcelError>
Dispatch to the most optimal evaluation path based on capabilities.
This default implementation checks caps and calls the appropriate eval method.
Auto Trait Implementations§
impl Freeze for PercentileInc
impl RefUnwindSafe for PercentileInc
impl Send for PercentileInc
impl Sync for PercentileInc
impl Unpin for PercentileInc
impl UnwindSafe for PercentileInc
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more