Struct mm0_deepsize::Context[][src]

pub struct Context { /* fields omitted */ }
Expand description

The context of which references have already been seen.

Keeps track of the Arcs, Rcs, and references that have been visited, so that Arcs and other references aren’t double counted.

This must be passed between deep_size_of_children calls when recursing, so that references are not double-counted.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a 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 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.