Enum darklua_core::nodes::Variable
source · [−]pub enum Variable {
Identifier(Identifier),
Field(Box<FieldExpression>),
Index(Box<IndexExpression>),
}Variants
Identifier(Identifier)
Field(Box<FieldExpression>)
Index(Box<IndexExpression>)
Implementations
Trait Implementations
sourceimpl From<FieldExpression> for Variable
impl From<FieldExpression> for Variable
sourcefn from(field: FieldExpression) -> Self
fn from(field: FieldExpression) -> Self
Converts to this type from the input type.
sourceimpl From<Identifier> for Variable
impl From<Identifier> for Variable
sourcefn from(identifier: Identifier) -> Self
fn from(identifier: Identifier) -> Self
Converts to this type from the input type.
sourceimpl From<IndexExpression> for Variable
impl From<IndexExpression> for Variable
sourcefn from(index: IndexExpression) -> Self
fn from(index: IndexExpression) -> Self
Converts to this type from the input type.
sourceimpl From<Variable> for Expression
impl From<Variable> for Expression
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more