Enum codeviz_rust::Name
[−]
[src]
pub enum Name { Imported(ImportedName), BuiltIn(BuiltInName), Local(LocalName), }
Variants
Imported(ImportedName)
BuiltIn(BuiltInName)
Local(LocalName)
Methods
impl Name
[src]
fn imported(module: &str, name: &str) -> ImportedName
fn imported_alias(module: &str, name: &str, alias: &str) -> ImportedName
fn built_in(name: &str) -> BuiltInName
fn local(name: &str) -> LocalName
fn format<E>(&self, out: &mut E) -> Result<()> where
E: ElementFormat,
E: ElementFormat,
Trait Implementations
impl Imports for Name
[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver,
I: ImportReceiver,
impl Debug for Name
[src]
impl Clone for Name
[src]
fn clone(&self) -> Name
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<'a, T> From<&'a T> for Name where
T: Into<Name> + Clone,
[src]
T: Into<Name> + Clone,
impl From<ImportedName> for Name
[src]
fn from(value: ImportedName) -> Name
Performs the conversion.
impl From<BuiltInName> for Name
[src]
fn from(value: BuiltInName) -> Name
Performs the conversion.