Struct gluon_base::symbol::Name
source · pub struct Name(/* private fields */);
Implementations§
source§impl Name
impl Name
pub fn new<N: ?Sized + AsRef<str>>(n: &N) -> &Name
pub fn as_pretty_str(&self) -> &str
pub fn len(&self) -> usize
pub fn as_str(&self) -> &str
pub fn components(&self) -> Components<'_> ⓘ
pub fn module(&self) -> &Name
pub fn name(&self) -> &Name
pub fn declared_name(&self) -> &str
pub fn definition_name(&self) -> &str
Trait Implementations§
source§impl PartialEq for Name
impl PartialEq for Name
source§impl PartialOrd for Name
impl PartialOrd for Name
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more