[][src]Struct gluon_base::symbol::Symbol

pub struct Symbol(_);

A symbol uniquely identifies something regardless of its name and which module it originated from

Methods

impl Symbol
[src]

Methods from Deref<Target = SymbolRef>

Checks whether the names of two symbols are equal

Returns the name of this symbol as it was originally declared (strips location information and module information)

Trait Implementations

impl Shared for Symbol
[src]

impl Clone for Symbol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S> From<S> for Symbol where
    S: Into<String>, 
[src]

Performs the conversion.

impl Eq for Symbol
[src]

impl AsRef<str> for Symbol
[src]

Performs the conversion.

impl PartialOrd<Symbol> for Symbol
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Symbol> for Symbol
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for Symbol
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for Symbol
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Symbol
[src]

Formats the value using the given formatter. Read more

impl Debug for Symbol
[src]

Formats the value using the given formatter. Read more

impl Deref for Symbol
[src]

The resulting type after dereferencing.

Dereferences the value.

impl Borrow<SymbolRef> for Symbol
[src]

Immutably borrows from an owned value. Read more

impl Serialize for Symbol
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Symbol
[src]

Deserialize this value from the given Serde deserializer. Read more

impl SerializeState<SeSeed> for Symbol
[src]

Placeholder

impl<'de, Id, T> DeserializeState<'de, Seed<Id, T>> for Symbol
[src]

Deserializes Self using seed and the deserializer

Auto Trait Implementations

impl Send for Symbol

impl Sync for Symbol

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

Converts the given value to a String. Read more

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]