Struct kailua_types::ty::RVar [] [src]

pub struct RVar(_);

Row variables generated by TypeContext.

A row variable #0 (RVar::empty()) denotes a special, inextensible "empty" row variable. This cannot occur from unification, but is required to handle subtyping between records and non-records, which effectively disables any further record extension.

Methods

impl RVar
[src]

Trait Implementations

impl Clone for RVar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RVar
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RVar
[src]

impl Hash for RVar
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for RVar
[src]

In the debugging output the row variable is denoted <row #rvar>, or ...rvar in the record types.

Formats the value using the given formatter.

impl Lattice for RVar
[src]

Asserts that self is a consistent subtype of other under the type context.

Asserts that self is a consistent type equal to other under the type context.