Enum erg_parser::ast::ConstAccessor
source · [−]pub enum ConstAccessor {
Local(ConstLocal),
SelfDot(ConstLocal),
Attr(ConstAttribute),
TupleAttr(ConstTupleAttribute),
Subscr(ConstSubscript),
}
Variants
Local(ConstLocal)
SelfDot(ConstLocal)
Attr(ConstAttribute)
TupleAttr(ConstTupleAttribute)
Subscr(ConstSubscript)
Implementations
Trait Implementations
sourceimpl Clone for ConstAccessor
impl Clone for ConstAccessor
sourcefn clone(&self) -> ConstAccessor
fn clone(&self) -> ConstAccessor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConstAccessor
impl Debug for ConstAccessor
sourceimpl Display for ConstAccessor
impl Display for ConstAccessor
sourceimpl Hash for ConstAccessor
impl Hash for ConstAccessor
sourceimpl Locational for ConstAccessor
impl Locational for ConstAccessor
sourceimpl NestedDisplay for ConstAccessor
impl NestedDisplay for ConstAccessor
sourceimpl PartialEq<ConstAccessor> for ConstAccessor
impl PartialEq<ConstAccessor> for ConstAccessor
sourcefn eq(&self, other: &ConstAccessor) -> bool
fn eq(&self, other: &ConstAccessor) -> bool
impl Eq for ConstAccessor
impl StructuralEq for ConstAccessor
impl StructuralPartialEq for ConstAccessor
Auto Trait Implementations
impl RefUnwindSafe for ConstAccessor
impl !Send for ConstAccessor
impl !Sync for ConstAccessor
impl Unpin for ConstAccessor
impl UnwindSafe for ConstAccessor
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