Struct semantic_analyzer::ast::ConstantName
source · pub struct ConstantName<'a>(_);
Trait Implementations§
source§impl<'a> Clone for ConstantName<'a>
impl<'a> Clone for ConstantName<'a>
source§fn clone(&self) -> ConstantName<'a>
fn clone(&self) -> ConstantName<'a>
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<'a> Debug for ConstantName<'a>
impl<'a> Debug for ConstantName<'a>
source§impl From<ConstantName<'_>> for ConstantName
impl From<ConstantName<'_>> for ConstantName
source§fn from(value: ConstantName<'_>) -> Self
fn from(value: ConstantName<'_>) -> Self
Converts to this type from the input type.
source§impl GetLocation for ConstantName<'_>
impl GetLocation for ConstantName<'_>
fn location(&self) -> CodeLocation
source§impl<'a> PartialEq<ConstantName<'a>> for ConstantName<'a>
impl<'a> PartialEq<ConstantName<'a>> for ConstantName<'a>
source§fn eq(&self, other: &ConstantName<'a>) -> bool
fn eq(&self, other: &ConstantName<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ConstantName<'a>
impl<'a> StructuralEq for ConstantName<'a>
impl<'a> StructuralPartialEq for ConstantName<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ConstantName<'a>
impl<'a> Send for ConstantName<'a>
impl<'a> Sync for ConstantName<'a>
impl<'a> Unpin for ConstantName<'a>
impl<'a> UnwindSafe for ConstantName<'a>
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