[−][src]Enum gluon_base::types::SymbolKey
Variants
Owned(Symbol)
Ref(&'static SymbolRef)
Methods from Deref<Target = SymbolRef>
pub fn name_eq(&self, other: &SymbolRef) -> bool
[src]
Checks whether the names of two symbols are equal
pub fn is_global(&self) -> bool
[src]
pub fn as_pretty_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
[src]
pub fn name(&self) -> &Name
[src]
pub fn raw_name(&self) -> &Name
[src]
pub fn declared_name(&self) -> &str
[src]
Returns the name of this symbol as it was originally declared (strips location information and module information)
pub fn definition_name(&self) -> &str
[src]
Trait Implementations
impl Borrow<SymbolRef> for SymbolKey
[src]
impl Clone for SymbolKey
[src]
impl Debug for SymbolKey
[src]
impl Deref for SymbolKey
[src]
type Target = SymbolRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Display for SymbolKey
[src]
impl Eq for SymbolKey
[src]
impl Hash for SymbolKey
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SymbolKey
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SymbolKey> for SymbolKey
[src]
impl PartialOrd<SymbolKey> for SymbolKey
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SymbolKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for SymbolKey
impl Send for SymbolKey
impl Sync for SymbolKey
impl Unpin for SymbolKey
impl UnwindSafe for SymbolKey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,