pub enum AstValue {
Ref(Box<AstValue>, Option<Box<AstAccess>>),
Deref(Box<AstValue>, Option<Box<AstAccess>>),
FunctionCall(AstIdentifier, Vec<AstValue>, Option<Box<AstAccess>>),
Tuple(Vec<AstValue>, Option<Box<AstAccess>>),
String(AstString),
Number(AstNumber),
OperationInline(AstIdentifier, Vec<AstValue>, Option<Box<AstAccess>>),
Variable(AstIdentifier, Option<Box<AstAccess>>),
}
Variants§
Ref(Box<AstValue>, Option<Box<AstAccess>>)
Deref(Box<AstValue>, Option<Box<AstAccess>>)
FunctionCall(AstIdentifier, Vec<AstValue>, Option<Box<AstAccess>>)
Tuple(Vec<AstValue>, Option<Box<AstAccess>>)
String(AstString)
Number(AstNumber)
OperationInline(AstIdentifier, Vec<AstValue>, Option<Box<AstAccess>>)
Variable(AstIdentifier, Option<Box<AstAccess>>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AstValue
impl<'de> Deserialize<'de> for AstValue
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 AstValue
impl RefUnwindSafe for AstValue
impl Send for AstValue
impl Sync for AstValue
impl Unpin for AstValue
impl UnwindSafe for AstValue
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