Module no_std_compat2::any

source ·
Available on non-crate feature std only.

Structs

  • DemandExperimental
    A helper object for providing data by type.
  • A TypeId represents a globally unique identifier for a type.

Traits

  • ProviderExperimental
    Trait implemented by a type which can dynamically provide values based on type.
  • A trait to emulate dynamic typing.

Functions

  • request_refExperimental
    Request a reference from the Provider.
  • request_valueExperimental
    Request a value from the Provider.
  • type_name_of_valExperimental
    Returns the name of the type of the pointed-to value as a string slice. This is the same as type_name::<T>(), but can be used where the type of a variable is not easily available.
  • Returns the name of a type as a string slice.