pub enum SimpletonExpressionNodes {
FindStruct {
name: String,
module_name: String,
},
FindFunction {
name: String,
module_name: String,
},
Closure {
captures: Vec<String>,
arguments: Vec<String>,
},
Literal(SimpletonLiteral),
GetVariable {
name: String,
},
CallFunction {
name: String,
module_name: String,
},
GetField {
name: String,
},
GetArrayItem,
GetMapIndex,
}
Variants§
FindStruct
FindFunction
Closure
Literal(SimpletonLiteral)
GetVariable
CallFunction
GetField
GetArrayItem
GetMapIndex
Trait Implementations§
Source§impl Clone for SimpletonExpressionNodes
impl Clone for SimpletonExpressionNodes
Source§fn clone(&self) -> SimpletonExpressionNodes
fn clone(&self) -> SimpletonExpressionNodes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpletonExpressionNodes
impl Debug for SimpletonExpressionNodes
Source§impl<'de> Deserialize<'de> for SimpletonExpressionNodes
impl<'de> Deserialize<'de> for SimpletonExpressionNodes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimpletonExpressionNodes
impl RefUnwindSafe for SimpletonExpressionNodes
impl Send for SimpletonExpressionNodes
impl Sync for SimpletonExpressionNodes
impl Unpin for SimpletonExpressionNodes
impl UnwindSafe for SimpletonExpressionNodes
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