pub struct FunctionDef {
pub name: &'static str,
pub category: Category,
pub description: &'static str,
pub syntax: &'static str,
pub demo: bool,
pub scalar: bool,
}Expand description
Function definition with all metadata
Fields§
§name: &'static strFunction name (e.g., “SUM”)
category: CategoryCategory for grouping
description: &'static strShort description
syntax: &'static strUsage syntax (e.g., “=SUM(value1, value2, …)”)
demo: boolAvailable in demo build (false = enterprise only)
scalar: boolScalar compatible (true = works with v1.0.0 schema without tables/arrays) scalar=true: single value in, single value out (e.g., ABS, SQRT, IF) scalar=false: requires table/array context (e.g., UNIQUE, FILTER, SUMIF)
Trait Implementations§
Source§impl Clone for FunctionDef
impl Clone for FunctionDef
Source§fn clone(&self) -> FunctionDef
fn clone(&self) -> FunctionDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FunctionDef
impl RefUnwindSafe for FunctionDef
impl Send for FunctionDef
impl Sync for FunctionDef
impl Unpin for FunctionDef
impl UnsafeUnpin for FunctionDef
impl UnwindSafe for FunctionDef
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