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

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

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


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 + ContextSensitiveVariant> Clone for Preliminary<V>[src]

impl<V: Debug + ContextSensitiveVariant> 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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.