pub struct PiFunc;Trait Implementations§
Source§impl ScalarFunction for PiFunc
impl ScalarFunction for PiFunc
Source§fn invoke(&self, _args: &[SqliteValue]) -> Result<SqliteValue>
fn invoke(&self, _args: &[SqliteValue]) -> Result<SqliteValue>
Execute this function on the given arguments.
Source§fn is_deterministic(&self) -> bool
fn is_deterministic(&self) -> bool
Whether this function is deterministic (same inputs → same output). Read more
Source§fn max_args(&self) -> Option<i32>
fn max_args(&self) -> Option<i32>
Maximum accepted argument count, or
None for unbounded variadic
functions.Source§fn accepts_arg_count(&self, num_args: i32) -> bool
fn accepts_arg_count(&self, num_args: i32) -> bool
Return whether this function accepts
num_args arguments.Auto Trait Implementations§
impl Freeze for PiFunc
impl RefUnwindSafe for PiFunc
impl Send for PiFunc
impl Sync for PiFunc
impl Unpin for PiFunc
impl UnsafeUnpin for PiFunc
impl UnwindSafe for PiFunc
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