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§
source§impl From<Box<FieldExpression, Global>> for Prefix
impl From<Box<FieldExpression, Global>> for Prefix
source§fn from(field: Box<FieldExpression>) -> Self
fn from(field: Box<FieldExpression>) -> Self
Converts to this type from the input type.
source§impl From<Box<IndexExpression, Global>> for Prefix
impl From<Box<IndexExpression, Global>> for Prefix
source§fn from(index: Box<IndexExpression>) -> Self
fn from(index: Box<IndexExpression>) -> Self
Converts to this type from the input type.
source§impl From<Expression> for Prefix
impl From<Expression> for Prefix
source§fn from(expression: Expression) -> Self
fn from(expression: Expression) -> Self
Converts to this type from the input type.
source§impl From<FieldExpression> for Prefix
impl From<FieldExpression> for Prefix
source§fn from(field: FieldExpression) -> Self
fn from(field: FieldExpression) -> Self
Converts to this type from the input type.
source§impl From<FunctionCall> for Prefix
impl From<FunctionCall> for Prefix
source§fn from(call: FunctionCall) -> Self
fn from(call: FunctionCall) -> Self
Converts to this type from the input type.
source§impl From<Identifier> for Prefix
impl From<Identifier> for Prefix
source§fn from(identifier: Identifier) -> Self
fn from(identifier: Identifier) -> Self
Converts to this type from the input type.
source§impl From<IndexExpression> for Prefix
impl From<IndexExpression> for Prefix
source§fn from(index: IndexExpression) -> Self
fn from(index: IndexExpression) -> Self
Converts to this type from the input type.
source§impl From<ParentheseExpression> for Prefix
impl From<ParentheseExpression> for Prefix
source§fn from(expression: ParentheseExpression) -> Self
fn from(expression: ParentheseExpression) -> Self
Converts to this type from the input type.
source§impl From<Prefix> for Expression
impl From<Prefix> for Expression
source§impl PartialEq<Prefix> for Prefix
impl PartialEq<Prefix> for Prefix
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§
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