Struct semantic_analyzer::types::ConstantName
source · pub struct ConstantName(_);
Expand description
Constant name type
Trait Implementations§
source§impl Clone for ConstantName
impl Clone for ConstantName
source§fn clone(&self) -> ConstantName
fn clone(&self) -> ConstantName
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 ConstantName
impl Debug for ConstantName
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 From<String> for ConstantName
impl From<String> for ConstantName
source§impl Hash for ConstantName
impl Hash for ConstantName
source§impl PartialEq<ConstantName> for ConstantName
impl PartialEq<ConstantName> for ConstantName
source§fn eq(&self, other: &ConstantName) -> bool
fn eq(&self, other: &ConstantName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for ConstantName
impl ToString for ConstantName
impl Eq for ConstantName
impl StructuralEq for ConstantName
impl StructuralPartialEq for ConstantName
Auto Trait Implementations§
impl RefUnwindSafe for ConstantName
impl Send for ConstantName
impl Sync for ConstantName
impl Unpin for ConstantName
impl UnwindSafe for ConstantName
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