[−][src]Trait gluon_vm::gc::DataDef
A definition of some data which may be allocated by the garbage collector.
Associated Types
Loading content...Required methods
fn size(&self) -> usize
Returns how many bytes need to be allocted for this DataDef
fn initialize<'w>(self, ptr: WriteOnly<'w, Self::Value>) -> &'w mut Self::Value
Consumes self
to initialize the allocated value.
Returns the initialized pointer.