Builtin function boilerplate
This commit is contained in:
parent
4263fd2532
commit
1c4ad8a7fa
0
src/builtin/list.rs
Normal file
0
src/builtin/list.rs
Normal file
0
src/builtin/map.rs
Normal file
0
src/builtin/map.rs
Normal file
0
src/builtin/math.rs
Normal file
0
src/builtin/math.rs
Normal file
0
src/builtin/meta.rs
Normal file
0
src/builtin/meta.rs
Normal file
@ -5,6 +5,12 @@ use crate::args::CallArgs;
|
||||
use crate::value::Value;
|
||||
|
||||
mod color;
|
||||
mod list;
|
||||
mod map;
|
||||
mod math;
|
||||
mod meta;
|
||||
mod selector;
|
||||
mod string;
|
||||
|
||||
pub(crate) type Builtin = Box<dyn Fn(&CallArgs) -> Option<Value> + Send + Sync>;
|
||||
|
||||
|
0
src/builtin/selector.rs
Normal file
0
src/builtin/selector.rs
Normal file
0
src/builtin/string.rs
Normal file
0
src/builtin/string.rs
Normal file
Loading…
x
Reference in New Issue
Block a user