Struct gluon_base::symbol::SymbolRef
[−]
[src]
pub struct SymbolRef(_);
Methods
impl SymbolRef
[src]
fn name_eq(&self, other: &SymbolRef) -> bool
Checks whether the names of two symbols are equal
fn declared_name(&self) -> &str
Returns the name of this symbol as it was originally declared (strips location information)
Trait Implementations
impl Eq for SymbolRef
[src]
impl Debug for SymbolRef
[src]
impl Display for SymbolRef
[src]
impl PartialEq for SymbolRef
[src]
fn eq(&self, other: &SymbolRef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialOrd for SymbolRef
[src]
fn partial_cmp(&self, other: &SymbolRef) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for SymbolRef
[src]
fn cmp(&self, other: &SymbolRef) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl Hash for SymbolRef
[src]
fn hash<H: Hasher>(&self, h: &mut H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.