Struct gluon_vm::gc::WriteOnly [] [src]

pub struct WriteOnly<'s, T: ?Sized + 's>(_, _);

Pointer type which can only be written to.

Methods

impl<'s, T: ?Sized> WriteOnly<'s, T>
[src]

Retrieves the pointer allowing it to be manipulated freely. As it points to uninitialized data care must be taken so to not read it before it has been initialized

impl<'s, T> WriteOnly<'s, T>
[src]

Writes a value to the pointer and returns a pointer to the now initialized value.

impl<'s, T: Copy> WriteOnly<'s, [T]>
[src]

impl<'s> WriteOnly<'s, str>
[src]