Enum oxischeme::heap::GcThing
[-]
[+]
[src]
pub enum GcThing { Cons(ConsPtr), String(StringPtr), Activation(ActivationPtr), Procedure(ProcedurePtr), }
The union of the various types that are GC things.
Variants
Cons | |
String | |
Activation | |
Procedure |
Methods
impl GcThing
fn from_string_ptr(str: StringPtr) -> GcThing
Create a GcThing
from a StringPtr
.
fn from_cons_ptr(cons: ConsPtr) -> GcThing
Create a GcThing
from a ConsPtr
.
fn from_procedure_ptr(procedure: ProcedurePtr) -> GcThing
Create a GcThing
from a ProcedurePtr
.
fn from_activation_ptr(act: ActivationPtr) -> GcThing
Create a GcThing
from an ActivationPtr
.