Struct mun_runtime::GcPtr[][src]

#[repr(transparent)]pub struct GcPtr(_);

A GcPtr is what you interact with outside of the allocator. It is a pointer to a piece of memory that points to the actual data stored in memory.

This creates an indirection that must be followed to get to the actual data of the object. Note that the GcPtr must therefore be pinned in memory whereas the contained memory pointer may change.

Trait Implementations

impl Clone for GcPtr[src]

impl Copy for GcPtr[src]

impl Debug for GcPtr[src]

impl Eq for GcPtr[src]

impl HasIndirectionPtr for GcPtr[src]

impl Hash for GcPtr[src]

impl Into<*const *mut c_void> for GcPtr[src]

impl<T> Into<*const ObjectInfo<T>> for GcPtr where
    T: TypeMemory + TypeTrace + Clone
[src]

impl<T> Into<*mut ObjectInfo<T>> for GcPtr where
    T: TypeMemory + TypeTrace + Clone
[src]

impl Ord for GcPtr[src]

impl PartialEq<GcPtr> for GcPtr[src]

impl PartialOrd<GcPtr> for GcPtr[src]

impl Send for GcPtr[src]

A GcPtr is thread safe.

impl StructuralEq for GcPtr[src]

impl StructuralPartialEq for GcPtr[src]

impl Sync for GcPtr[src]

Auto Trait Implementations

impl RefUnwindSafe for GcPtr

impl Unpin for GcPtr

impl UnwindSafe for GcPtr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,