pub struct LogFunc;Expand description
log(X) with 1 arg = base-10. log(B, X) with 2 args = base-B.
Trait Implementations§
Source§impl ScalarFunction for LogFunc
impl ScalarFunction for LogFunc
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
Auto Trait Implementations§
impl Freeze for LogFunc
impl RefUnwindSafe for LogFunc
impl Send for LogFunc
impl Sync for LogFunc
impl Unpin for LogFunc
impl UnsafeUnpin for LogFunc
impl UnwindSafe for LogFunc
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