ruut_functions/macros.rs
1#[macro_export]
2/// Generate F1D from string and unwrap the result
3macro_rules! f1d {
4 ($expr: literal) => {
5 F1D::new($expr).unwrap()
6 };
7}
8#[macro_export]
9/// Generate F2D from string and unwrap the result
10macro_rules! f2d {
11 ($expr: literal) => {
12 F2D::new($expr).unwrap()
13 };
14}
15#[macro_export]
16/// Generated F3D from string and unwrap the resul
17macro_rules! f3d {
18 ($expr: literal) => {
19 F3D::new($expr).unwrap()
20 };
21}
22
23#[macro_export]
24/// Generate F3D from string and unwrap the resul
25macro_rules! fnd {
26 ($expr: literal, $vars: expr) => {
27 FND::new($expr, $vars).unwrap()
28 };
29}