Struct gluon_vm::gc::Move[][src]

pub struct Move<T>(pub T);

DataDef that moves its value directly into the pointer useful for sized types

Trait Implementations

impl<T> DataDef for Move<T>
[src]

The type of the value allocated.

Returns how many bytes need to be allocted for this DataDef

Consumes self to initialize the allocated value. Returns the initialized pointer. Read more

impl<T> Traverseable for Move<T> where
    T: Traverseable
[src]

Auto Trait Implementations

impl<T> Send for Move<T> where
    T: Send

impl<T> Sync for Move<T> where
    T: Sync