#[repr(transparent)]
pub struct AssumeNotTraced<T>(_);
Expand description

A wrapper type that assumes its contents don’t need to be traced

Implementations

Assume the specified value doesn’t need to be traced

Safety

Undefined behavior if the value contains anything that need to be traced by a garbage collector.

Unwrap the inner value of this wrapper

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

This type with all garbage collected lifetimes changed to 'new_gc Read more

Trace this object behind a Gc pointer. Read more

Whether this type needs to be traced by the garbage collector. Read more

If this type needs a destructor run. Read more

Trace each field in this type. Read more

Trace an immutable reference to this type Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.