Enum erg_parser::ast::ConstAccessor
source · pub enum ConstAccessor {
Local(ConstIdentifier),
Attr(ConstAttribute),
TupleAttr(ConstTupleAttribute),
Subscr(ConstSubscript),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ConstAccessor
impl Clone for ConstAccessor
source§fn clone(&self) -> ConstAccessor
fn clone(&self) -> ConstAccessor
Returns a copy 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 ConstAccessor
impl Debug for ConstAccessor
source§impl Display for ConstAccessor
impl Display for ConstAccessor
source§impl Hash for ConstAccessor
impl Hash for ConstAccessor
source§impl Locational for ConstAccessor
impl Locational for ConstAccessor
source§impl NestedDisplay for ConstAccessor
impl NestedDisplay for ConstAccessor
source§impl PartialEq for ConstAccessor
impl PartialEq for ConstAccessor
impl Eq for ConstAccessor
impl StructuralPartialEq for ConstAccessor
Auto Trait Implementations§
impl Freeze for ConstAccessor
impl RefUnwindSafe for ConstAccessor
impl Send for ConstAccessor
impl Sync for ConstAccessor
impl Unpin for ConstAccessor
impl UnwindSafe for ConstAccessor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)