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

pub struct Name(_);

Implementations

impl Name[src]

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

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

pub fn len(&self) -> usize[src]

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

pub fn components(&self) -> Components<'_>

Notable traits for Components<'a>

impl<'a> Iterator for Components<'a> type Item = &'a str;
[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 AsRef<Name> for str[src]

impl AsRef<Name> for String[src]

impl AsRef<Name> for Name[src]

impl AsRef<Name> for NameBuf[src]

impl AsRef<str> for Name[src]

impl Borrow<Name> for NameBuf[src]

impl Debug for Name[src]

impl Display for Name[src]

impl Eq for Name[src]

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

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

impl Hash for Name[src]

impl Ord for Name[src]

impl PartialEq<Name> for Name[src]

impl PartialOrd<Name> for Name[src]

impl StructuralEq for Name[src]

impl ToOwned for Name[src]

type Owned = NameBuf

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for Name

impl Send for Name

impl Sync for Name

impl Unpin for Name

impl UnwindSafe for Name

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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