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

pub struct Name(_);

Methods

impl Name
[src]

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

fn as_str(&self) -> &str

fn components(&self) -> Components

fn module(&self) -> &Name

fn name(&self) -> &Name

Trait Implementations

impl Hash for Name
[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 Name
[src]

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

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

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

This method tests for !=.

impl Eq for Name
[src]

impl Debug for Name
[src]

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

Formats the value using the given formatter.

impl Display for Name
[src]

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

Formats the value using the given formatter.

impl AsRef<Name> for Name
[src]

fn as_ref(&self) -> &Name

Performs the conversion.