Enum rustdb::run::CompileFunc [−][src]
pub enum CompileFunc {
Value(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<Value>),
Int(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<i64>),
Float(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<f64>),
}
Expand description
Function that compiles a builtin function call ( see Database::register ).
Variants
Value(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<Value>)
Int(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<i64>)
Float(fn(_: &Block<'_>, _: &mut [Expr]) -> CExpPtr<f64>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompileFunc
impl Send for CompileFunc
impl Sync for CompileFunc
impl Unpin for CompileFunc
impl UnwindSafe for CompileFunc
Blanket Implementations
Mutably borrows from an owned value. Read more