# Struct rusttyc::types::Partial [−][src]

Partial is a container for a ContextSensitiveVariant and the least arity a particular instance of this variant currently has. Only used for ContextSensitiveVariant::meet().

The `least_arity`

indicates how many children this instance of the variance has according to the current state of the type checker.
The value might increase in the future but never decrease.

## Fields

`variant: V`

The variant represented by this `Partial`

.

`least_arity: usize`

The least number of children the variant will have after completing the type check.

## Trait Implementations

## Auto Trait Implementations

`impl<V> RefUnwindSafe for Partial<V> where`

V: RefUnwindSafe,

[src]

V: RefUnwindSafe,

`impl<V> Send for Partial<V> where`

V: Send,

[src]

V: Send,

`impl<V> Sync for Partial<V> where`

V: Sync,

[src]

V: Sync,

`impl<V> Unpin for Partial<V> where`

V: Unpin,

[src]

V: Unpin,

`impl<V> UnwindSafe for Partial<V> where`

V: UnwindSafe,

[src]

V: UnwindSafe,

## Blanket Implementations

`impl<T> Any for T where`

T: 'static + ?Sized,

[src]

T: 'static + ?Sized,

`impl<T> Borrow<T> for T where`

T: ?Sized,

[src]

T: ?Sized,

`impl<T> BorrowMut<T> for T where`

T: ?Sized,

[src]

T: ?Sized,

`pub fn borrow_mut(&mut self) -> &mut T`

[src]

`impl<T> From<T> for T`

[src]

`impl<T, U> Into<U> for T where`

U: From<T>,

[src]

U: From<T>,

`impl<T> ToOwned for T where`

T: Clone,

[src]

T: Clone,

`type Owned = T`

The resulting type after obtaining ownership.

`pub fn to_owned(&self) -> T`

[src]

`pub fn clone_into(&self, target: &mut T)`

[src]

`impl<T, U> TryFrom<U> for T where`

U: Into<T>,

[src]

U: Into<T>,

`type Error = Infallible`

The type returned in the event of a conversion error.

`pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>`

[src]

`impl<T, U> TryInto<U> for T where`

U: TryFrom<T>,

[src]

U: TryFrom<T>,