[−][src]Struct mun_runtime::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]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<*const *mut c_void> for GcPtr
[src]
impl<T> Into<*const ObjectInfo<T>> for GcPtr where
T: TypeTrace + TypeMemory + Clone,
[src]
T: TypeTrace + TypeMemory + Clone,
impl<T> Into<*mut ObjectInfo<T>> for GcPtr where
T: TypeTrace + TypeMemory + Clone,
[src]
T: TypeTrace + TypeMemory + Clone,
impl Ord for GcPtr
[src]
fn cmp(&self, other: &GcPtr) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<GcPtr> for GcPtr
[src]
impl PartialOrd<GcPtr> for GcPtr
[src]
fn partial_cmp(&self, other: &GcPtr) -> Option<Ordering>
[src]
fn lt(&self, other: &GcPtr) -> bool
[src]
fn le(&self, other: &GcPtr) -> bool
[src]
fn gt(&self, other: &GcPtr) -> bool
[src]
fn ge(&self, other: &GcPtr) -> bool
[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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Marshal<T> for T
[src]
fn marshal_value(self, _runtime: Rc<RefCell<Runtime>>) -> T
[src]
fn marshal_from_ptr(
ptr: NonNull<T>,
_runtime: Rc<RefCell<Runtime>>,
_type_info: Option<&TypeInfo>
) -> T
[src]
ptr: NonNull<T>,
_runtime: Rc<RefCell<Runtime>>,
_type_info: Option<&TypeInfo>
) -> T
fn marshal_to_ptr(value: T, ptr: NonNull<T>, _type_info: Option<&TypeInfo>)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,