Struct cell_gc::GCRef [] [src]

pub struct GCRef<'h, T: IntoHeap<'h>> { /* fields omitted */ }

Methods

impl<'h, T: IntoHeap<'h>> GCRef<'h, T>
[src]

Pin an object, returning a new GCRef that will unpin it when dropped. Unsafe because if p is not a pointer to a live allocation of type T::In --- and a complete allocation, not a sub-object of one --- then later unsafe code will explode.

Trait Implementations

impl<'h, T: IntoHeap<'h>> Drop for GCRef<'h, T>
[src]

A method called when the value goes out of scope. Read more

impl<'h, T: IntoHeap<'h>> Clone for GCRef<'h, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'h, T: IntoHeap<'h>> Debug for GCRef<'h, T>
[src]

Formats the value using the given formatter.

impl<'h, T: IntoHeap<'h>> PartialEq for GCRef<'h, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'h, T: IntoHeap<'h>> Eq for GCRef<'h, T>
[src]