[][src]Struct gluon_base::symbol::Name

pub struct Name(_);

Methods

impl Name[src]

pub fn new<N: ?Sized + AsRef<str>>(n: &N) -> &Name[src]

pub fn as_pretty_str(&self) -> &str[src]

pub fn as_str(&self) -> &str[src]

Important traits for Components<'a>
pub fn components(&self) -> Components[src]

pub fn module(&self) -> &Name[src]

pub fn name(&self) -> &Name[src]

pub fn declared_name(&self) -> &str[src]

pub fn definition_name(&self) -> &str[src]

Trait Implementations

impl PartialOrd<Name> for Name[src]

impl ToOwned for Name[src]

type Owned = NameBuf

fn clone_into(&self, target: &mut Self::Owned)[src]

🔬 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 AsRef<Name> for str[src]

impl AsRef<Name> for String[src]

impl AsRef<Name> for Name[src]

impl AsRef<Name> for NameBuf[src]

impl PartialEq<Name> for Name[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'a> From<&'a Name> for NameBuf[src]

impl Ord for Name[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

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

Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more

impl Eq for Name[src]

impl Display for Name[src]

impl Debug for Name[src]

impl Hash for Name[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

impl Borrow<Name> for NameBuf[src]

Auto Trait Implementations

impl Send for Name

impl Sync for Name

Blanket Implementations

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

type Owned = T

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

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

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

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