[][src]Enum moore_vhdl::score::LatentName

pub enum LatentName<'ast> {
    Simple(&'ast Spanned<Name>),
    Primary(&'ast PrimaryName),
    Compound(&'ast CompoundName),
}

A general name in the AST that can be resolved. Used for e.g. for package and subprogram bodies to resolve the name of their target.

Variants

Simple(&'ast Spanned<Name>)

A simple name.

Primary(&'ast PrimaryName)

A primary name.

Compound(&'ast CompoundName)

A compound name.

Trait Implementations

impl<'ast> Clone for LatentName<'ast>
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'ast> From<&'ast Spanned<Name>> for LatentName<'ast>
[src]

impl<'ast> From<&'ast PrimaryName> for LatentName<'ast>
[src]

impl<'ast> From<&'ast CompoundName> for LatentName<'ast>
[src]

impl<'ast> Copy for LatentName<'ast>
[src]

impl<'ast> Debug for LatentName<'ast>
[src]

impl<'ast> HasSpan for LatentName<'ast>
[src]

fn human_span(&self) -> Span
[src]

Obtain a span which can be used to refer to this node in error messages presented to humans. This will generally be the name for things like entities, processes, and variables. Defaults to return whatever span() returns. Read more

impl<'ast> HasDesc for LatentName<'ast>
[src]

fn desc_full(&self) -> String
[src]

Obtain a human-readable description for this node, possibly containing the node's name. Read more

Auto Trait Implementations

impl<'ast> Send for LatentName<'ast>

impl<'ast> Sync for LatentName<'ast>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]