[][src]Enum moore_svlog_syntax::ast::PathSegmentData

pub enum PathSegmentData<'a> {
    Unit,
    Ident(Spanned<Name>),
    Class(Spanned<Name>, Vec<ParamAssignment<'a>>),
}

A segment of a type name.

Adapted from §A.2.2.1:

path_segment ::=
    "$unit"
    package_identifier
    class_identifier (param_value_assignment)?
    type_identifier
    covergroup_identifier

Variants

Unit

A $unit.

Ident(Spanned<Name>)

A package, type, covergroup, or class identifier.

A class identifier with specializations.

Trait Implementations

impl<'a> AcceptVisitor<'a> for PathSegmentData<'a>[src]

impl<'a> AnyNodeData for PathSegmentData<'a>[src]

impl<'a> Clone for PathSegmentData<'a>[src]

impl<'a> Debug for PathSegmentData<'a>[src]

impl<'a> Eq for PathSegmentData<'a>[src]

impl<'a> ForEachChild<'a> for PathSegmentData<'a>[src]

impl<'a> ForEachNode<'a> for PathSegmentData<'a>[src]

impl<'a> PartialEq<PathSegmentData<'a>> for PathSegmentData<'a>[src]

impl<'a> StructuralEq for PathSegmentData<'a>[src]

impl<'a> StructuralPartialEq for PathSegmentData<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for PathSegmentData<'a>

impl<'a> Send for PathSegmentData<'a>

impl<'a> Sync for PathSegmentData<'a>

impl<'a> Unpin for PathSegmentData<'a>

impl<'a> !UnwindSafe for PathSegmentData<'a>

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.