Struct rusttyc::types::Preliminary[][src]

pub struct Preliminary<V: Variant> {
    pub variant: V,
    pub children: Vec<Option<TcKey>>,
}

Represents a preliminary output of the type check. Mainly used if Variant does not implement Constructable.

Fields

variant: V

The type variant of the entity represented by this Preliminary.

children: Vec<Option<TcKey>>

The TcKeys of the children of this variant.

Trait Implementations

impl<V: Clone + Variant> Clone for Preliminary<V>[src]

impl<V: Debug + Variant> Debug for Preliminary<V>[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for Preliminary<V> where
    V: RefUnwindSafe

impl<V> Send for Preliminary<V> where
    V: Send

impl<V> Sync for Preliminary<V> where
    V: Sync

impl<V> Unpin for Preliminary<V> where
    V: Unpin

impl<V> UnwindSafe for Preliminary<V> where
    V: UnwindSafe

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.