Trait arret_runtime::boxed::Boxed[][src]

pub trait Boxed: Sized + PartialEqInHeap + HashInHeap + Debug {
    fn as_any_ref(&self) -> Gc<Any> { ... }
fn header(&self) -> Header { ... } }

Boxed value

Boxes can be allocated on the stack, heap or a static constant. Every box is tagged with a top-level type.

Provided methods

fn as_any_ref(&self) -> Gc<Any>[src]

Casts this value to an Any reference

fn header(&self) -> Header[src]

Returns the header of the box

Loading content...

Implementors

impl Boxed for Any[src]

impl Boxed for Bool[src]

impl Boxed for Char[src]

impl Boxed for False[src]

impl Boxed for Float[src]

impl Boxed for FunThunk[src]

impl Boxed for Int[src]

impl Boxed for Nil[src]

impl Boxed for Num[src]

impl Boxed for Record[src]

impl Boxed for Str[src]

impl Boxed for Sym[src]

impl Boxed for True[src]

impl<K: Boxed, V: Boxed> Boxed for Map<K, V>[src]

impl<T: Boxed> Boxed for List<T>[src]

impl<T: Boxed> Boxed for Pair<T>[src]

impl<T: Boxed> Boxed for Set<T>[src]

impl<T: Boxed> Boxed for Vector<T>[src]

Loading content...