pub trait VmType {
type Type: ?Sized + Any;
fn make_forall_type(vm: &Thread) -> ArcType { ... }
fn make_type(vm: &Thread) -> ArcType { ... }
fn extra_args() -> VmIndex { ... }
}
Expand description
Trait which maps a type in rust to a type in gluon
Required Associated Types
Provided Methods
fn make_forall_type(vm: &Thread) -> ArcType
sourcefn extra_args() -> VmIndex
fn extra_args() -> VmIndex
How many extra arguments a function returning this type requires. Used for abstract types which when used in return position should act like they still need more arguments before they are called