Enum darklua_core::nodes::Prefix
source · [−]pub enum Prefix {
Call(FunctionCall),
Field(Box<FieldExpression>),
Identifier(Identifier),
Index(Box<IndexExpression>),
Parenthese(ParentheseExpression),
}Variants
Call(FunctionCall)
Field(Box<FieldExpression>)
Identifier(Identifier)
Index(Box<IndexExpression>)
Parenthese(ParentheseExpression)
Implementations
Trait Implementations
sourceimpl From<Box<FieldExpression, Global>> for Prefix
impl From<Box<FieldExpression, Global>> for Prefix
sourcefn from(field: Box<FieldExpression>) -> Self
fn from(field: Box<FieldExpression>) -> Self
Converts to this type from the input type.
sourceimpl From<Box<IndexExpression, Global>> for Prefix
impl From<Box<IndexExpression, Global>> for Prefix
sourcefn from(index: Box<IndexExpression>) -> Self
fn from(index: Box<IndexExpression>) -> Self
Converts to this type from the input type.
sourceimpl From<FieldExpression> for Prefix
impl From<FieldExpression> for Prefix
sourcefn from(field: FieldExpression) -> Self
fn from(field: FieldExpression) -> Self
Converts to this type from the input type.
sourceimpl From<FunctionCall> for Prefix
impl From<FunctionCall> for Prefix
sourcefn from(call: FunctionCall) -> Self
fn from(call: FunctionCall) -> Self
Converts to this type from the input type.
sourceimpl From<Identifier> for Prefix
impl From<Identifier> for Prefix
sourcefn from(identifier: Identifier) -> Self
fn from(identifier: Identifier) -> Self
Converts to this type from the input type.
sourceimpl From<IndexExpression> for Prefix
impl From<IndexExpression> for Prefix
sourcefn from(index: IndexExpression) -> Self
fn from(index: IndexExpression) -> Self
Converts to this type from the input type.
sourceimpl From<ParentheseExpression> for Prefix
impl From<ParentheseExpression> for Prefix
sourcefn from(expression: ParentheseExpression) -> Self
fn from(expression: ParentheseExpression) -> Self
Converts to this type from the input type.
sourceimpl From<Prefix> for Expression
impl From<Prefix> for Expression
impl Eq for Prefix
impl StructuralEq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnwindSafe for Prefix
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