Enum darklua_core::nodes::Variable
source · pub enum Variable {
Identifier(Identifier),
Field(Box<FieldExpression>),
Index(Box<IndexExpression>),
}Variants§
Implementations§
Trait Implementations§
source§impl From<FieldExpression> for Variable
impl From<FieldExpression> for Variable
source§fn from(field: FieldExpression) -> Self
fn from(field: FieldExpression) -> Self
Converts to this type from the input type.
source§impl From<Identifier> for Variable
impl From<Identifier> for Variable
source§fn from(identifier: Identifier) -> Self
fn from(identifier: Identifier) -> Self
Converts to this type from the input type.
source§impl From<IndexExpression> for Variable
impl From<IndexExpression> for Variable
source§fn from(index: IndexExpression) -> Self
fn from(index: IndexExpression) -> Self
Converts to this type from the input type.
source§impl From<Variable> for Expression
impl From<Variable> for Expression
source§impl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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