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

pub struct NameBuf(_);

Methods

impl NameBuf
[src]

fn new<T>(name: T) -> NameBuf where T: Into<String>

Methods from Deref<Target=Name>

fn as_str(&self) -> &str

fn components(&self) -> Components

fn module(&self) -> &Name

fn name(&self) -> &Name

Trait Implementations

impl Hash for NameBuf
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl PartialEq for NameBuf
[src]

fn eq(&self, __arg_0: &NameBuf) -> bool

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

fn ne(&self, __arg_0: &NameBuf) -> bool

This method tests for !=.

impl Eq for NameBuf
[src]

impl Debug for NameBuf
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for NameBuf
[src]

fn clone(&self) -> NameBuf

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for NameBuf
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl AsRef<str> for NameBuf
[src]

fn as_ref(&self) -> &str

Performs the conversion.

impl AsRef<Name> for NameBuf
[src]

fn as_ref(&self) -> &Name

Performs the conversion.

impl Borrow<Name> for NameBuf
[src]

fn borrow(&self) -> &Name

Immutably borrows from an owned value. Read more

impl Deref for NameBuf
[src]

type Target = Name

The resulting type after dereferencing

fn deref(&self) -> &Name

The method called to dereference a value

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

fn from(name: &'a str) -> NameBuf

Performs the conversion.

impl From<String> for NameBuf
[src]

fn from(name: String) -> NameBuf

Performs the conversion.

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

fn from(name: &'a Name) -> NameBuf

Performs the conversion.