Enum balena_temen::ast::IdentifierValue
source · pub enum IdentifierValue {
Name(String),
Index(isize),
Identifier(Identifier),
This,
Super,
}
Expand description
An identifier value (component)
Variants
Name(String)
A string index (dictionaries)
Index(isize)
An integer index (arrays)
Identifier(Identifier)
An indirect index (value of another identifier)
This
Current object
Super
Parent object
Trait Implementations
sourceimpl Clone for IdentifierValue
impl Clone for IdentifierValue
sourcefn clone(&self) -> IdentifierValue
fn clone(&self) -> IdentifierValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IdentifierValue
impl Debug for IdentifierValue
sourceimpl PartialEq<IdentifierValue> for IdentifierValue
impl PartialEq<IdentifierValue> for IdentifierValue
sourcefn eq(&self, other: &IdentifierValue) -> bool
fn eq(&self, other: &IdentifierValue) -> bool
impl StructuralPartialEq for IdentifierValue
Auto Trait Implementations
impl RefUnwindSafe for IdentifierValue
impl Send for IdentifierValue
impl Sync for IdentifierValue
impl Unpin for IdentifierValue
impl UnwindSafe for IdentifierValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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