pub enum IdentifierOperationType {
Subscript(Box<Expression>),
Subfield(String),
FunctionCall(Vec<Expression>),
}Expand description
Type of operation applied on an identifier.
Variants§
Subscript(Box<Expression>)
Array subscript, i.e. identifier[subscript].
Subfield(String)
Object subfield, i.e. identifier.subfield.
FunctionCall(Vec<Expression>)
Function call, i.e. identifier(arguments).
Trait Implementations§
Source§impl Clone for IdentifierOperationType
impl Clone for IdentifierOperationType
Source§fn clone(&self) -> IdentifierOperationType
fn clone(&self) -> IdentifierOperationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IdentifierOperationType
impl Debug for IdentifierOperationType
Source§impl PartialEq for IdentifierOperationType
impl PartialEq for IdentifierOperationType
impl StructuralPartialEq for IdentifierOperationType
Auto Trait Implementations§
impl Freeze for IdentifierOperationType
impl RefUnwindSafe for IdentifierOperationType
impl Send for IdentifierOperationType
impl Sync for IdentifierOperationType
impl Unpin for IdentifierOperationType
impl UnwindSafe for IdentifierOperationType
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