pub enum Prefix {
Call(FunctionCall),
Field(Box<FieldExpression>),
Identifier(String),
Index(Box<IndexExpression>),
Parenthese(Expression),
}
Variants§
Call(FunctionCall)
Field(Box<FieldExpression>)
Identifier(String)
Index(Box<IndexExpression>)
Parenthese(Expression)
Trait Implementations§
Source§impl Into<Expression> for Prefix
impl Into<Expression> for Prefix
Source§fn into(self) -> Expression
fn into(self) -> Expression
Converts this type into the (usually inferred) input type.
Source§impl Prefix<Expression, FunctionCall, FieldExpression, IndexExpression> for Prefix
impl Prefix<Expression, FunctionCall, FieldExpression, IndexExpression> for Prefix
fn from_name(name: String) -> Self
fn from_parenthese(expression: Expression) -> Self
fn from_call(call: FunctionCall) -> Self
fn from_field(field: FieldExpression) -> Self
fn from_index(index: IndexExpression) -> Self
Source§impl TryInto<FunctionCall> for Prefix
impl TryInto<FunctionCall> for Prefix
impl Eq for Prefix
impl StructuralPartialEq for Prefix
Auto Trait Implementations§
impl Freeze for Prefix
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