pub struct Identifier {
pub name: String,
pub child: Option<Box<Identifier>>,
pub arguments: Option<Vec<Expression>>,
}Fields§
§name: StringThe name of the current identifier
child: Option<Box<Identifier>>The next identifier after this one
arguments: Option<Vec<Expression>>If none, this is not a function call
Implementations§
Source§impl Identifier
impl Identifier
Trait Implementations§
Source§impl Clone for Identifier
impl Clone for Identifier
Source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
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 Default for Identifier
impl Default for Identifier
Source§fn default() -> Identifier
fn default() -> Identifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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