Trait TypePath
pub trait TypePath: 'static {
// Required methods
fn type_path() -> &'static str;
fn short_type_path() -> &'static str;
// Provided methods
fn type_ident() -> Option<&'static str> { ... }
fn crate_name() -> Option<&'static str> { ... }
fn module_path() -> Option<&'static str> { ... }
}Expand description
A static accessor to type paths and names.
The engine uses this trait over core::any::type_name for stability and flexibility.
This trait is automatically implemented by the #[derive(Reflect)] macro
and allows type path information to be processed without an instance of that type.
Implementors may have difficulty in generating references with static lifetimes. Luckily, this crate comes with some utility structs, to make generating these statics much simpler.
§Stability
Certain parts of the engine, e.g. (de)serialization, rely on type paths as identifiers for matching dynamic values to concrete types.
Using core::any::type_name, a scene containing my_crate::foo::MyComponent would break,
failing to deserialize if the component was moved from the foo module to the bar module,
becoming my_crate::bar::MyComponent.
This trait, through attributes when deriving itself or Reflect, can ensure breaking changes are avoidable.
The only external factor we rely on for stability when deriving is the module_path! macro,
only if the derive does not provide a #[type_path = "..."] attribute.
§Anonymity
Some methods on this trait return Option<&'static str> over &'static str
because not all types define all parts of a type path, for example the array type [T; N].
Such types are ‘anonymous’ in that they have only a defined type_path and short_type_path
and the methods crate_name, module_path and type_ident all return None.
Primitives are treated like anonymous types, except they also have a defined type_ident.
§Example
use bevy_reflect::TypePath;
// This type path will not change with compiler versions or recompiles,
// although it will not be the same if the definition is moved.
#[derive(TypePath)]
struct NonStableTypePath;
// This type path will never change, even if the definition is moved.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
struct StableTypePath;
// Type paths can have any number of path segments.
#[derive(TypePath)]
#[type_path = "my_crate::foo::bar::baz"]
struct DeeplyNestedStableTypePath;
// Including just a crate name!
#[derive(TypePath)]
#[type_path = "my_crate"]
struct ShallowStableTypePath;
// We can also rename the identifier/name of types.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
#[type_name = "RenamedStableTypePath"]
struct NamedStableTypePath;
// Generics are also supported.
#[derive(TypePath)]
#[type_path = "my_crate::foo"]
struct StableGenericTypePath<T, const N: usize>([T; N]);Required Methods§
fn type_path() -> &'static str
fn type_path() -> &'static str
Returns the fully qualified path of the underlying type.
Generic parameter types are also fully expanded.
For Option<Vec<usize>>, this is "std::option::Option<std::vec::Vec<usize>>".
fn short_type_path() -> &'static str
fn short_type_path() -> &'static str
Returns a short, pretty-print enabled path to the type.
Generic parameter types are also shortened.
For Option<Vec<usize>>, this is "Option<Vec<usize>>".
Provided Methods§
fn type_ident() -> Option<&'static str>
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl TypePath for Acceleration
impl TypePath for Acceleration
Source§impl TypePath for Acceleration
impl TypePath for Acceleration
Source§impl TypePath for AmountOfSubstance
impl TypePath for AmountOfSubstance
Source§impl TypePath for AmountOfSubstance
impl TypePath for AmountOfSubstance
Source§impl TypePath for AngularAbsement
impl TypePath for AngularAbsement
Source§impl TypePath for AngularAbsement
impl TypePath for AngularAbsement
Source§impl TypePath for AngularAcceleration
impl TypePath for AngularAcceleration
Source§impl TypePath for AngularAcceleration
impl TypePath for AngularAcceleration
Source§impl TypePath for AngularJerk
impl TypePath for AngularJerk
Source§impl TypePath for AngularJerk
impl TypePath for AngularJerk
Source§impl TypePath for AngularMomentum
impl TypePath for AngularMomentum
Source§impl TypePath for AngularMomentum
impl TypePath for AngularMomentum
Source§impl TypePath for AngularVelocity
impl TypePath for AngularVelocity
Source§impl TypePath for AngularVelocity
impl TypePath for AngularVelocity
Source§impl TypePath for ArealDensityOfStates
impl TypePath for ArealDensityOfStates
Source§impl TypePath for ArealDensityOfStates
impl TypePath for ArealDensityOfStates
Source§impl TypePath for ArealHeatCapacity
impl TypePath for ArealHeatCapacity
Source§impl TypePath for ArealHeatCapacity
impl TypePath for ArealHeatCapacity
Source§impl TypePath for ArealMassDensity
impl TypePath for ArealMassDensity
Source§impl TypePath for ArealMassDensity
impl TypePath for ArealMassDensity
Source§impl TypePath for ArealNumberDensity
impl TypePath for ArealNumberDensity
Source§impl TypePath for ArealNumberDensity
impl TypePath for ArealNumberDensity
Source§impl TypePath for ArealNumberRate
impl TypePath for ArealNumberRate
Source§impl TypePath for ArealNumberRate
impl TypePath for ArealNumberRate
§impl TypePath for Atomic<bool>
impl TypePath for Atomic<bool>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<i8>
impl TypePath for Atomic<i8>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<i16>
impl TypePath for Atomic<i16>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<i32>
impl TypePath for Atomic<i32>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<i64>
impl TypePath for Atomic<i64>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<isize>
impl TypePath for Atomic<isize>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<u8>
impl TypePath for Atomic<u8>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<u16>
impl TypePath for Atomic<u16>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<u32>
impl TypePath for Atomic<u32>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<u64>
impl TypePath for Atomic<u64>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for Atomic<usize>
impl TypePath for Atomic<usize>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for AvailableEnergy
impl TypePath for AvailableEnergy
Source§impl TypePath for AvailableEnergy
impl TypePath for AvailableEnergy
Source§impl TypePath for Capacitance
impl TypePath for Capacitance
Source§impl TypePath for Capacitance
impl TypePath for Capacitance
Source§impl TypePath for CatalyticActivity
impl TypePath for CatalyticActivity
Source§impl TypePath for CatalyticActivity
impl TypePath for CatalyticActivity
Source§impl TypePath for DiffusionCoefficient
impl TypePath for DiffusionCoefficient
Source§impl TypePath for DiffusionCoefficient
impl TypePath for DiffusionCoefficient
§impl TypePath for Duration
impl TypePath for Duration
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for DynamicViscosity
impl TypePath for DynamicViscosity
Source§impl TypePath for DynamicViscosity
impl TypePath for DynamicViscosity
Source§impl TypePath for ElectricCharge
impl TypePath for ElectricCharge
Source§impl TypePath for ElectricCharge
impl TypePath for ElectricCharge
Source§impl TypePath for ElectricCurrent
impl TypePath for ElectricCurrent
Source§impl TypePath for ElectricCurrent
impl TypePath for ElectricCurrent
Source§impl TypePath for ElectricCurrentDensity
impl TypePath for ElectricCurrentDensity
Source§impl TypePath for ElectricCurrentDensity
impl TypePath for ElectricCurrentDensity
Source§impl TypePath for ElectricDipoleMoment
impl TypePath for ElectricDipoleMoment
Source§impl TypePath for ElectricDipoleMoment
impl TypePath for ElectricDipoleMoment
Source§impl TypePath for ElectricDisplacementField
impl TypePath for ElectricDisplacementField
Source§impl TypePath for ElectricDisplacementField
impl TypePath for ElectricDisplacementField
Source§impl TypePath for ElectricField
impl TypePath for ElectricField
Source§impl TypePath for ElectricField
impl TypePath for ElectricField
Source§impl TypePath for ElectricFlux
impl TypePath for ElectricFlux
Source§impl TypePath for ElectricFlux
impl TypePath for ElectricFlux
Source§impl TypePath for ElectricPermittivity
impl TypePath for ElectricPermittivity
Source§impl TypePath for ElectricPermittivity
impl TypePath for ElectricPermittivity
Source§impl TypePath for ElectricPotential
impl TypePath for ElectricPotential
Source§impl TypePath for ElectricPotential
impl TypePath for ElectricPotential
Source§impl TypePath for ElectricQuadrupoleMoment
impl TypePath for ElectricQuadrupoleMoment
Source§impl TypePath for ElectricQuadrupoleMoment
impl TypePath for ElectricQuadrupoleMoment
Source§impl TypePath for ElectricalConductance
impl TypePath for ElectricalConductance
Source§impl TypePath for ElectricalConductance
impl TypePath for ElectricalConductance
Source§impl TypePath for ElectricalConductivity
impl TypePath for ElectricalConductivity
Source§impl TypePath for ElectricalConductivity
impl TypePath for ElectricalConductivity
Source§impl TypePath for ElectricalMobility
impl TypePath for ElectricalMobility
Source§impl TypePath for ElectricalMobility
impl TypePath for ElectricalMobility
Source§impl TypePath for ElectricalResistance
impl TypePath for ElectricalResistance
Source§impl TypePath for ElectricalResistance
impl TypePath for ElectricalResistance
Source§impl TypePath for ElectricalResistivity
impl TypePath for ElectricalResistivity
Source§impl TypePath for ElectricalResistivity
impl TypePath for ElectricalResistivity
§impl TypePath for FixedHasher
impl TypePath for FixedHasher
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for FixedState
impl TypePath for FixedState
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for FixedState
impl TypePath for FixedState
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for FrequencyDrift
impl TypePath for FrequencyDrift
Source§impl TypePath for FrequencyDrift
impl TypePath for FrequencyDrift
Source§impl TypePath for HeatCapacity
impl TypePath for HeatCapacity
Source§impl TypePath for HeatCapacity
impl TypePath for HeatCapacity
Source§impl TypePath for HeatFluxDensity
impl TypePath for HeatFluxDensity
Source§impl TypePath for HeatFluxDensity
impl TypePath for HeatFluxDensity
Source§impl TypePath for HeatTransfer
impl TypePath for HeatTransfer
Source§impl TypePath for HeatTransfer
impl TypePath for HeatTransfer
Source§impl TypePath for Inductance
impl TypePath for Inductance
Source§impl TypePath for Inductance
impl TypePath for Inductance
Source§impl TypePath for Information
impl TypePath for Information
Source§impl TypePath for Information
impl TypePath for Information
Source§impl TypePath for InformationRate
impl TypePath for InformationRate
Source§impl TypePath for InformationRate
impl TypePath for InformationRate
§impl TypePath for Instant
impl TypePath for Instant
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for InverseVelocity
impl TypePath for InverseVelocity
Source§impl TypePath for InverseVelocity
impl TypePath for InverseVelocity
Source§impl TypePath for KinematicViscosity
impl TypePath for KinematicViscosity
Source§impl TypePath for KinematicViscosity
impl TypePath for KinematicViscosity
Source§impl TypePath for LinearDensityOfStates
impl TypePath for LinearDensityOfStates
Source§impl TypePath for LinearDensityOfStates
impl TypePath for LinearDensityOfStates
Source§impl TypePath for LinearMassDensity
impl TypePath for LinearMassDensity
Source§impl TypePath for LinearMassDensity
impl TypePath for LinearMassDensity
Source§impl TypePath for LinearNumberDensity
impl TypePath for LinearNumberDensity
Source§impl TypePath for LinearNumberDensity
impl TypePath for LinearNumberDensity
Source§impl TypePath for LinearNumberRate
impl TypePath for LinearNumberRate
Source§impl TypePath for LinearNumberRate
impl TypePath for LinearNumberRate
Source§impl TypePath for LinearPowerDensity
impl TypePath for LinearPowerDensity
Source§impl TypePath for LinearPowerDensity
impl TypePath for LinearPowerDensity
Source§impl TypePath for LuminousIntensity
impl TypePath for LuminousIntensity
Source§impl TypePath for LuminousIntensity
impl TypePath for LuminousIntensity
Source§impl TypePath for MagneticFieldStrength
impl TypePath for MagneticFieldStrength
Source§impl TypePath for MagneticFieldStrength
impl TypePath for MagneticFieldStrength
Source§impl TypePath for MagneticFlux
impl TypePath for MagneticFlux
Source§impl TypePath for MagneticFlux
impl TypePath for MagneticFlux
Source§impl TypePath for MagneticFluxDensity
impl TypePath for MagneticFluxDensity
Source§impl TypePath for MagneticFluxDensity
impl TypePath for MagneticFluxDensity
Source§impl TypePath for MagneticMoment
impl TypePath for MagneticMoment
Source§impl TypePath for MagneticMoment
impl TypePath for MagneticMoment
Source§impl TypePath for MagneticPermeability
impl TypePath for MagneticPermeability
Source§impl TypePath for MagneticPermeability
impl TypePath for MagneticPermeability
Source§impl TypePath for MassConcentration
impl TypePath for MassConcentration
Source§impl TypePath for MassConcentration
impl TypePath for MassConcentration
Source§impl TypePath for MassDensity
impl TypePath for MassDensity
Source§impl TypePath for MassDensity
impl TypePath for MassDensity
Source§impl TypePath for MassPerEnergy
impl TypePath for MassPerEnergy
Source§impl TypePath for MassPerEnergy
impl TypePath for MassPerEnergy
Source§impl TypePath for MolarConcentration
impl TypePath for MolarConcentration
Source§impl TypePath for MolarConcentration
impl TypePath for MolarConcentration
Source§impl TypePath for MolarEnergy
impl TypePath for MolarEnergy
Source§impl TypePath for MolarEnergy
impl TypePath for MolarEnergy
Source§impl TypePath for MolarHeatCapacity
impl TypePath for MolarHeatCapacity
Source§impl TypePath for MolarHeatCapacity
impl TypePath for MolarHeatCapacity
Source§impl TypePath for MolarRadioactivity
impl TypePath for MolarRadioactivity
Source§impl TypePath for MolarRadioactivity
impl TypePath for MolarRadioactivity
Source§impl TypePath for MolarVolume
impl TypePath for MolarVolume
Source§impl TypePath for MolarVolume
impl TypePath for MolarVolume
Source§impl TypePath for MomentOfInertia
impl TypePath for MomentOfInertia
Source§impl TypePath for MomentOfInertia
impl TypePath for MomentOfInertia
§impl TypePath for NoOpHash
impl TypePath for NoOpHash
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<i8>
impl TypePath for NonZero<i8>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<i16>
impl TypePath for NonZero<i16>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<i32>
impl TypePath for NonZero<i32>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<i64>
impl TypePath for NonZero<i64>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<i128>
impl TypePath for NonZero<i128>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<isize>
impl TypePath for NonZero<isize>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<u8>
impl TypePath for NonZero<u8>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<u16>
impl TypePath for NonZero<u16>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<u32>
impl TypePath for NonZero<u32>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<u64>
impl TypePath for NonZero<u64>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<u128>
impl TypePath for NonZero<u128>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for NonZero<usize>
impl TypePath for NonZero<usize>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for PassHash
impl TypePath for PassHash
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for RadiantExposure
impl TypePath for RadiantExposure
Source§impl TypePath for RadiantExposure
impl TypePath for RadiantExposure
Source§impl TypePath for Radioactivity
impl TypePath for Radioactivity
Source§impl TypePath for Radioactivity
impl TypePath for Radioactivity
§impl TypePath for RandomState
impl TypePath for RandomState
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for RandomState
impl TypePath for RandomState
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for RangeFull
impl TypePath for RangeFull
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for ReciprocalLength
impl TypePath for ReciprocalLength
Source§impl TypePath for ReciprocalLength
impl TypePath for ReciprocalLength
§impl TypePath for SocketAddr
impl TypePath for SocketAddr
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for SolidAngle
impl TypePath for SolidAngle
Source§impl TypePath for SolidAngle
impl TypePath for SolidAngle
Source§impl TypePath for SpecificArea
impl TypePath for SpecificArea
Source§impl TypePath for SpecificArea
impl TypePath for SpecificArea
Source§impl TypePath for SpecificHeatCapacity
impl TypePath for SpecificHeatCapacity
Source§impl TypePath for SpecificHeatCapacity
impl TypePath for SpecificHeatCapacity
Source§impl TypePath for SpecificPower
impl TypePath for SpecificPower
Source§impl TypePath for SpecificPower
impl TypePath for SpecificPower
Source§impl TypePath for SpecificRadioactivity
impl TypePath for SpecificRadioactivity
Source§impl TypePath for SpecificRadioactivity
impl TypePath for SpecificRadioactivity
Source§impl TypePath for SpecificVolume
impl TypePath for SpecificVolume
Source§impl TypePath for SpecificVolume
impl TypePath for SpecificVolume
§impl TypePath for String
impl TypePath for String
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for SurfaceTension
impl TypePath for SurfaceTension
Source§impl TypePath for SurfaceTension
impl TypePath for SurfaceTension
Source§impl TypePath for TemperatureCoefficient
impl TypePath for TemperatureCoefficient
Source§impl TypePath for TemperatureCoefficient
impl TypePath for TemperatureCoefficient
Source§impl TypePath for TemperatureGradient
impl TypePath for TemperatureGradient
Source§impl TypePath for TemperatureGradient
impl TypePath for TemperatureGradient
Source§impl TypePath for TemperatureInterval
impl TypePath for TemperatureInterval
Source§impl TypePath for TemperatureInterval
impl TypePath for TemperatureInterval
Source§impl TypePath for ThermalConductance
impl TypePath for ThermalConductance
Source§impl TypePath for ThermalConductance
impl TypePath for ThermalConductance
Source§impl TypePath for ThermalConductivity
impl TypePath for ThermalConductivity
Source§impl TypePath for ThermalConductivity
impl TypePath for ThermalConductivity
Source§impl TypePath for ThermalResistance
impl TypePath for ThermalResistance
Source§impl TypePath for ThermalResistance
impl TypePath for ThermalResistance
Source§impl TypePath for ThermodynamicTemperature
impl TypePath for ThermodynamicTemperature
Source§impl TypePath for ThermodynamicTemperature
impl TypePath for ThermodynamicTemperature
§impl TypePath for TypeId
impl TypePath for TypeId
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Source§impl TypePath for VolumeRate
impl TypePath for VolumeRate
Source§impl TypePath for VolumeRate
impl TypePath for VolumeRate
Source§impl TypePath for VolumetricDensityOfStates
impl TypePath for VolumetricDensityOfStates
Source§impl TypePath for VolumetricDensityOfStates
impl TypePath for VolumetricDensityOfStates
Source§impl TypePath for VolumetricHeatCapacity
impl TypePath for VolumetricHeatCapacity
Source§impl TypePath for VolumetricHeatCapacity
impl TypePath for VolumetricHeatCapacity
Source§impl TypePath for VolumetricNumberDensity
impl TypePath for VolumetricNumberDensity
Source§impl TypePath for VolumetricNumberDensity
impl TypePath for VolumetricNumberDensity
Source§impl TypePath for VolumetricNumberRate
impl TypePath for VolumetricNumberRate
Source§impl TypePath for VolumetricNumberRate
impl TypePath for VolumetricNumberRate
Source§impl TypePath for VolumetricPowerDensity
impl TypePath for VolumetricPowerDensity
Source§impl TypePath for VolumetricPowerDensity
impl TypePath for VolumetricPowerDensity
§impl TypePath for bool
impl TypePath for bool
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for char
impl TypePath for char
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for f32
impl TypePath for f32
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for f64
impl TypePath for f64
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for i8
impl TypePath for i8
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for i16
impl TypePath for i16
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for i32
impl TypePath for i32
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for i64
impl TypePath for i64
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for i128
impl TypePath for i128
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for isize
impl TypePath for isize
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for str
impl TypePath for str
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for u8
impl TypePath for u8
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for u16
impl TypePath for u16
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for u32
impl TypePath for u32
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for u64
impl TypePath for u64
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for u128
impl TypePath for u128
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl TypePath for usize
impl TypePath for usize
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<'a, T> TypePath for Cow<'a, T>
impl<'a, T> TypePath for Cow<'a, T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<'a> TypePath for FoldHasher<'a>where
FoldHasher<'a>: 'static,
impl<'a> TypePath for FoldHasher<'a>where
FoldHasher<'a>: 'static,
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<'a> TypePath for FoldHasher<'a>where
FoldHasher<'a>: 'static,
impl<'a> TypePath for FoldHasher<'a>where
FoldHasher<'a>: 'static,
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<H> TypePath for BuildHasherDefault<H>
impl<H> TypePath for BuildHasherDefault<H>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<K, V, S> TypePath for HashMap<K, V, S>
impl<K, V, S> TypePath for HashMap<K, V, S>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<K, V> TypePath for BTreeMap<K, V>
impl<K, V> TypePath for BTreeMap<K, V>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<P1, P2, P0> TypePath for (P1, P2, P0)
impl<P1, P2, P0> TypePath for (P1, P2, P0)
§impl<P1, P2, P3, P0> TypePath for (P1, P2, P3, P0)
impl<P1, P2, P3, P0> TypePath for (P1, P2, P3, P0)
§impl<P1, P2, P3, P4, P0> TypePath for (P1, P2, P3, P4, P0)
impl<P1, P2, P3, P4, P0> TypePath for (P1, P2, P3, P4, P0)
§impl<P1, P2, P3, P4, P5, P0> TypePath for (P1, P2, P3, P4, P5, P0)
impl<P1, P2, P3, P4, P5, P0> TypePath for (P1, P2, P3, P4, P5, P0)
§impl<P1, P2, P3, P4, P5, P6, P0> TypePath for (P1, P2, P3, P4, P5, P6, P0)
impl<P1, P2, P3, P4, P5, P6, P0> TypePath for (P1, P2, P3, P4, P5, P6, P0)
§impl<P1, P2, P3, P4, P5, P6, P7, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P0)
impl<P1, P2, P3, P4, P5, P6, P7, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P0)
§impl<P1, P2, P3, P4, P5, P6, P7, P8, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P0)
impl<P1, P2, P3, P4, P5, P6, P7, P8, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P0)
§impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P0)
impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P0)
§impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0)
impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P0)
§impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0)
impl<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0> TypePath for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P0)
§impl<T, E> TypePath for Result<T, E>
impl<T, E> TypePath for Result<T, E>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T, H> TypePath for Hashed<T, H>
impl<T, H> TypePath for Hashed<T, H>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for &'static T
impl<T> TypePath for &'static T
§impl<T> TypePath for &'static mut T
impl<T> TypePath for &'static mut T
§impl<T> TypePath for Arc<T>
impl<T> TypePath for Arc<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for BTreeSet<T>
impl<T> TypePath for BTreeSet<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for BinaryHeap<T>
impl<T> TypePath for BinaryHeap<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Bound<T>
impl<T> TypePath for Bound<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Mutex<T>
impl<T> TypePath for Mutex<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Option<T>
impl<T> TypePath for Option<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Range<T>
impl<T> TypePath for Range<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for RangeFrom<T>
impl<T> TypePath for RangeFrom<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for RangeInclusive<T>
impl<T> TypePath for RangeInclusive<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for RangeTo<T>
impl<T> TypePath for RangeTo<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for RangeToInclusive<T>
impl<T> TypePath for RangeToInclusive<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Saturating<T>
impl<T> TypePath for Saturating<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Vec<T>
impl<T> TypePath for Vec<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for VecDeque<T>
impl<T> TypePath for VecDeque<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<T> TypePath for Wrapping<T>
impl<T> TypePath for Wrapping<T>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
§impl<V, S> TypePath for HashSet<V, S>
impl<V, S> TypePath for HashSet<V, S>
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Implementors§
impl TypePath for CuDuration
impl TypePath for CuInstant
impl TypePath for CuMsgMetadata
impl TypePath for CuMsgOrigin
impl TypePath for CuTime
impl TypePath for CuTimeRange
impl TypePath for DynamicArray
impl TypePath for DynamicEnum
impl TypePath for DynamicList
impl TypePath for DynamicMap
impl TypePath for DynamicSet
impl TypePath for DynamicStruct
impl TypePath for DynamicTuple
impl TypePath for DynamicTupleStruct
impl TypePath for OffsetAccess
impl TypePath for OptionCuTime
impl TypePath for ParsedPath
impl TypePath for PartialCuTimeRange
impl TypePath for Tov
impl TypePath for dyn PartialReflect
impl TypePath for dyn Reflect
impl<'a> TypePath for Access<'a>where
Access<'a>: 'static,
impl<I> TypePath for CuSimSinkTask<I>where
I: 'static,
impl<O> TypePath for CuSimSrcTaskPack<O>where
O: 'static,
impl<T, M> TypePath for CuStampedData<T, M>
impl<T, O, const PROCESS_EMPTY: bool> TypePath for CuAsyncTask<T, O, PROCESS_EMPTY>where
T: for<'m> CuTask<Output<'m> = CuStampedData<O, CuMsgMetadata>> + Send + 'static,
O: CuMsgPayload + Send + 'static,
impl<T, O> TypePath for CuAsyncSrcTask<T, O>where
T: for<'m> CuSrcTask<Output<'m> = CuStampedData<O, CuMsgMetadata>> + Send + 'static,
O: CuMsgPayload + Send + 'static,
impl<T, const N: usize> TypePath for CuArray<T, N>
impl<T, const N: usize> TypePath for CuArrayVec<T, N>
impl<T> TypePath for CuHandle<T>
reflect only.