Enum moore_vhdl::score::ResolvableName
[−]
[src]
pub enum ResolvableName { Ident(Name), Bit(char), Operator(Operator), }
A name that can be resolved in a scope.
Variants
Ident(Name)
Bit(char)
Operator(Operator)
Methods
impl ResolvableName
[src]
fn is_ident(&self) -> bool
[src]
Check whether this name is an identifier.
fn is_bit(&self) -> bool
[src]
Check whether this name is a bit.
fn is_operator(&self) -> bool
[src]
Check whether this name is an operator.
Trait Implementations
impl Copy for ResolvableName
[src]
impl Clone for ResolvableName
[src]
fn clone(&self) -> ResolvableName
[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 Debug for ResolvableName
[src]
impl PartialEq for ResolvableName
[src]
fn eq(&self, __arg_0: &ResolvableName) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResolvableName) -> bool
[src]
This method tests for !=
.
impl Eq for ResolvableName
[src]
impl Hash for ResolvableName
[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
impl Display for ResolvableName
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Name> for ResolvableName
[src]
fn from(name: Name) -> ResolvableName
[src]
Performs the conversion.
impl From<char> for ResolvableName
[src]
fn from(c: char) -> ResolvableName
[src]
Performs the conversion.