Enum tonic_js_builder::Expression [−][src]
pub enum Expression {
Show 13 variants
String(String),
Number(f64),
Bool(bool),
Null,
Array(Vec<Self>),
Object(HashMap<String, Self>),
Index(Box<Self>, Box<Self>),
Dot(Box<Self>, Box<Self>),
Infix(Box<Self>, String, Box<Self>),
Prefix(String, Box<Self>),
Call(Box<Self>, Vec<Self>),
Identifier(String),
Closure(Vec<Self>, Builder),
}
Variants
String(String)
Tuple Fields
0: String
Number(f64)
Tuple Fields
0: f64
Bool(bool)
Tuple Fields
0: bool
Null
Array(Vec<Self>)
Tuple Fields
0: Vec<Self>
Object(HashMap<String, Self>)
Index(Box<Self>, Box<Self>)
Dot(Box<Self>, Box<Self>)
Infix(Box<Self>, String, Box<Self>)
Prefix(String, Box<Self>)
Call(Box<Self>, Vec<Self>)
Identifier(String)
Tuple Fields
0: String
Closure(Vec<Self>, Builder)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
Mutably borrows from an owned value. Read more