[][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]

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'ast> RefUnwindSafe for LatentName<'ast>

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

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

impl<'ast> Unpin for LatentName<'ast>

impl<'ast> UnwindSafe for LatentName<'ast>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.