Struct zerogc_context::state::nosync::RawContext[][src]

pub struct RawContext<C: RawCollectorImpl> { /* fields omitted */ }

Trait Implementations

impl<C: RawCollectorImpl> Debug for RawContext<C>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<C> RawContext<C> for RawContext<C> where
    C: RawCollectorImpl<RawContext = Self, Manager = CollectionManager<C>>, 
[src]

unsafe fn register_new(collector: &CollectorRef<C>) -> ManuallyDrop<Box<Self>>[src]

unsafe fn trigger_safepoint(&self)[src]

Trigger a safepoint for this context. Read more

fn shadow_stack_ptr(&self) -> *mut ShadowStack<C>[src]

Get a pointer to the shadow stack

unsafe fn collector(&self) -> &C[src]

Get a reference to the collector, assuming that it’s valid Read more

fn state(&self) -> ContextState[src]

unsafe fn assume_valid_shadow_stack(&self) -> &ShadowStack<C>[src]

Borrow a reference to the shadow stack, assuming this context is valid (not active). Read more

Auto Trait Implementations

impl<C> !RefUnwindSafe for RawContext<C>

impl<C> !Send for RawContext<C>

impl<C> !Sync for RawContext<C>

impl<C> Unpin for RawContext<C> where
    <C as RawCollectorImpl>::Ptr: Unpin

impl<C> UnwindSafe for RawContext<C> where
    <C as RawCollectorImpl>::GcDynPointer: RefUnwindSafe,
    <C as RawCollectorImpl>::Ptr: UnwindSafe

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.