Struct symbolic_common::Name
[−]
[src]
pub struct Name<'a> { /* fields omitted */ }Represents a potentially mangled symbol
Methods
impl<'a> Name<'a>[src]
fn new<S>(string: S) -> Name<'a> where
S: Into<Cow<'a, str>>, [src]
S: Into<Cow<'a, str>>,
Constructs a new mangled symbol
fn with_language<S>(string: S, lang: Language) -> Name<'a> where
S: Into<Cow<'a, str>>, [src]
S: Into<Cow<'a, str>>,
Constructs a new mangled symbol with known language
fn as_str(&self) -> &str[src]
The raw, mangled string of the symbol
fn language(&self) -> Option<Language>[src]
The language of the mangled symbol
Trait Implementations
impl<'a> Debug for Name<'a>[src]
impl<'a> Eq for Name<'a>[src]
impl<'a> PartialEq for Name<'a>[src]
fn eq(&self, __arg_0: &Name<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Name<'a>) -> bool[src]
This method tests for !=.
impl<'a> Hash for Name<'a>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more