[][src]Struct gluon_base::symbol::NameBuf

pub struct NameBuf(_);

Implementations

impl NameBuf[src]

pub fn new<T>(name: T) -> NameBuf where
    T: Into<String>, 
[src]

Methods from Deref<Target = Name>

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 NameBuf[src]

impl AsRef<str> for NameBuf[src]

impl Borrow<Name> for NameBuf[src]

impl Clone for NameBuf[src]

impl Debug for NameBuf[src]

impl Default for NameBuf[src]

impl Deref for NameBuf[src]

type Target = Name

The resulting type after dereferencing.

impl Display for NameBuf[src]

impl Eq for NameBuf[src]

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

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

impl From<NameBuf> for String[src]

impl From<String> for NameBuf[src]

impl Hash for NameBuf[src]

impl Ord for NameBuf[src]

impl PartialEq<NameBuf> for NameBuf[src]

impl PartialOrd<NameBuf> for NameBuf[src]

impl StructuralEq for NameBuf[src]

impl StructuralPartialEq for NameBuf[src]

Auto Trait Implementations

impl RefUnwindSafe for NameBuf

impl Send for NameBuf

impl Sync for NameBuf

impl Unpin for NameBuf

impl UnwindSafe for NameBuf

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.