Trait as_any::AsAny[][src]

pub trait AsAny: Any {
    fn as_any(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
fn type_name(&self) -> &'static str; }
Expand description

This trait is an extension trait to Any, and adds methods to retrieve a &dyn Any

Required methods

Gets the type name of self

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Returns true if the boxed type is the same as T. Read more

Forward to the method defined on the type Any.

Forward to the method defined on the type Any.

Returns true if the boxed type is the same as T. Read more

Forward to the method defined on the type Any.

Forward to the method defined on the type Any.

Returns true if the boxed type is the same as T. Read more

Forward to the method defined on the type Any.

Forward to the method defined on the type Any.

Returns true if the boxed type is the same as T. Read more

Forward to the method defined on the type Any.

Forward to the method defined on the type Any.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Blanket Implementations

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Convert self into the appropriate boxed form.

Implementors