Struct moore_svlog_hir::Name
[−]
[src]
pub struct Name(pub u32);
A name is a lightweight 32 bit tag that refers to a string in a name table. During parsing, encountered strings are inserted into the name table and only the corresponding tag is kept in the token. Names which have their most significant bit set represent case sensitive names, such as for extended identifiers.
Methods
impl Name
[src]
fn is_case_sensitive(&self) -> bool
[src]
Check if the name is case sensitive.
fn as_str(self) -> RcStr
[src]
Return the string representation of this name.
Trait Implementations
impl Ord for Name
[src]
impl Copy for Name
[src]
impl Hash for Name
[src]
impl Clone for Name
[src]
fn clone(&self) -> Name
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Name> for Name
[src]
impl Debug for Name
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.