[][src]Enum vhdl_parser::ast::TypeDefinition

pub enum TypeDefinition {
    Enumeration(Vec<WithPos<EnumerationLiteral>>),
    Integer(Range),
    Physical(PhysicalTypeDeclaration),
    Array(Vec<ArrayIndex>, SubtypeIndication),
    Record(Vec<ElementDeclaration>),
    Access(SubtypeIndication),
    Incomplete,
    File(WithPos<SelectedName>),
    Protected(ProtectedTypeDeclaration),
    ProtectedBody(ProtectedTypeBody),
    Subtype(SubtypeIndication),
}

LRM 5 Types

Variants

LRM 5.2 Scalar Types LRM 5.2.2 Enumeration types

Integer(Range)

LRM 5.2.3 Integer types

LRM 5.2.4 Physical types

LRM 5.3 Composite Types LRM 5.3.2 Array types

LRM 5.3.3 Record types

LRM 5.4 Access types

Incomplete

LRM 5.4.2 Incomplete type declarations

LRM 5.5 File types

LRM 5.6 Protected types

ProtectedBody(ProtectedTypeBody)

LRM 6.3 Subtype declarations

Trait Implementations

impl Clone for TypeDefinition[src]

impl Debug for TypeDefinition[src]

impl PartialEq<TypeDefinition> for TypeDefinition[src]

impl StructuralPartialEq for TypeDefinition[src]

Auto Trait Implementations

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.