pub struct DynDynTableEntry { /* private fields */ }
Expand description

An entry in a concrete type’s table of downcast-exposed traits.

Each entry represents a single trait object that the concrete type in question can be downcast to. Note that entries will only appear for bare trait object types, i.e. dyn Trait. Trait objects with extra marker types, e.g. dyn Trait + Send, are handled specially by the dyn_dyn_cast! macro and do not appear in a concrete type’s trait table.

Implementations

Gets the TypeId of the trait object corresponding to this entry.

Trait Implementations

Formats the value using the given formatter. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.