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.

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

impl<V> Send for Preliminary<V> where
    V: Send
[src]

impl<V> Sync for Preliminary<V> where
    V: Sync
[src]

impl<V> Unpin for Preliminary<V> where
    V: Unpin
[src]

impl<V> UnwindSafe for Preliminary<V> where
    V: UnwindSafe
[src]

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.