Trait zerogc_context::collector::CollectorPtr [−][src]
pub unsafe trait CollectorPtr<C: RawCollectorImpl<Ptr = Self>>: Copy + Eq + Sealed + 'static { type Weak: Clone + 'static; unsafe fn from_raw(ptr: *mut C) -> Self; unsafe fn clone_owned(&self) -> Self; fn as_ptr(&self) -> *mut C; unsafe fn drop(self); fn upgrade_weak_raw(weak: &Self::Weak) -> Option<Self>; unsafe fn assume_weak_valid(weak: &Self::Weak) -> Self; unsafe fn create_weak(&self) -> Self::Weak; fn upgrade_weak(weak: &Self::Weak) -> Option<CollectorRef<C>> { ... } }
Expand description
An unchecked pointer to a collector