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§
Sourcefn 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>>".
Sourcefn 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§
Sourcefn type_ident() -> Option<&'static str>
fn type_ident() -> Option<&'static str>
Sourcefn crate_name() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl TypePath for SocketAddr
impl TypePath for SocketAddr
Source§impl TypePath for AccessibilitySystem
impl TypePath for AccessibilitySystem
Source§impl TypePath for RepeatAnimation
impl TypePath for RepeatAnimation
Source§impl TypePath for WeightsCurve
impl TypePath for WeightsCurve
Source§impl TypePath for PlaybackMode
impl TypePath for PlaybackMode
Source§impl TypePath for BloomCompositeMode
impl TypePath for BloomCompositeMode
Source§impl TypePath for Camera3dDepthLoadOp
impl TypePath for Camera3dDepthLoadOp
Source§impl TypePath for DepthOfFieldMode
impl TypePath for DepthOfFieldMode
Source§impl TypePath for Sensitivity
impl TypePath for Sensitivity
Source§impl TypePath for SmaaPreset
impl TypePath for SmaaPreset
Source§impl TypePath for DebandDither
impl TypePath for DebandDither
Source§impl TypePath for Tonemapping
impl TypePath for Tonemapping
Source§impl TypePath for ButtonState
impl TypePath for ButtonState
Source§impl TypePath for GamepadConnection
impl TypePath for GamepadConnection
Source§impl TypePath for GamepadEvent
impl TypePath for GamepadEvent
Source§impl TypePath for GamepadInput
impl TypePath for GamepadInput
Source§impl TypePath for GamepadRumbleRequest
impl TypePath for GamepadRumbleRequest
Source§impl TypePath for RawGamepadEvent
impl TypePath for RawGamepadEvent
Source§impl TypePath for NativeKeyCode
impl TypePath for NativeKeyCode
Source§impl TypePath for MouseScrollUnit
impl TypePath for MouseScrollUnit
Source§impl TypePath for ForceTouch
impl TypePath for ForceTouch
Source§impl TypePath for TouchPhase
impl TypePath for TouchPhase
Source§impl TypePath for CompassOctant
impl TypePath for CompassOctant
Source§impl TypePath for CompassQuadrant
impl TypePath for CompassQuadrant
Source§impl TypePath for CircularMeshUvMode
impl TypePath for CircularMeshUvMode
Source§impl TypePath for CapsuleUvProfile
impl TypePath for CapsuleUvProfile
Source§impl TypePath for ConeAnchor
impl TypePath for ConeAnchor
Source§impl TypePath for CylinderAnchor
impl TypePath for CylinderAnchor
Source§impl TypePath for SphereKind
impl TypePath for SphereKind
Source§impl TypePath for ClusterConfig
impl TypePath for ClusterConfig
Source§impl TypePath for ClusterFarZMode
impl TypePath for ClusterFarZMode
Source§impl TypePath for ShadowFilteringMethod
impl TypePath for ShadowFilteringMethod
Source§impl TypePath for OpaqueRendererMethod
impl TypePath for OpaqueRendererMethod
Source§impl TypePath for PickingInteraction
impl TypePath for PickingInteraction
Source§impl TypePath for PointerAction
impl TypePath for PointerAction
Source§impl TypePath for PressDirection
impl TypePath for PressDirection
Source§impl TypePath for NormalizedRenderTarget
impl TypePath for NormalizedRenderTarget
Source§impl TypePath for RenderTarget
impl TypePath for RenderTarget
Source§impl TypePath for ScalingMode
impl TypePath for ScalingMode
Source§impl TypePath for AlphaMode2d
impl TypePath for AlphaMode2d
Source§impl TypePath for FontSmoothing
impl TypePath for FontSmoothing
Source§impl TypePath for LineHeight
impl TypePath for LineHeight
Source§impl TypePath for FocusPolicy
impl TypePath for FocusPolicy
Source§impl TypePath for AppLifecycle
impl TypePath for AppLifecycle
Source§impl TypePath for WindowEvent
impl TypePath for WindowEvent
Source§impl TypePath for SystemCursorIcon
impl TypePath for SystemCursorIcon
Source§impl TypePath for CompositeAlphaMode
impl TypePath for CompositeAlphaMode
Source§impl TypePath for CursorGrabMode
impl TypePath for CursorGrabMode
Source§impl TypePath for PresentMode
impl TypePath for PresentMode
Source§impl TypePath for WindowLevel
impl TypePath for WindowLevel
Source§impl TypePath for WindowMode
impl TypePath for WindowMode
Source§impl TypePath for WindowTheme
impl TypePath for WindowTheme
Source§impl TypePath for CursorIcon
impl TypePath for CursorIcon
Source§impl TypePath for CustomCursor
impl TypePath for CustomCursor
Source§impl TypePath for AtomicBool
impl TypePath for AtomicBool
Source§impl TypePath for AtomicIsize
impl TypePath for AtomicIsize
Source§impl TypePath for AtomicUsize
impl TypePath for AtomicUsize
Source§impl TypePath for RandomState
impl TypePath for RandomState
Source§impl TypePath for AccessibilityRequested
impl TypePath for AccessibilityRequested
Source§impl TypePath for CubicRotationCurve
impl TypePath for CubicRotationCurve
Source§impl TypePath for ActiveAnimation
impl TypePath for ActiveAnimation
Source§impl TypePath for AnimationTarget
impl TypePath for AnimationTarget
Source§impl TypePath for AnimationTargetId
impl TypePath for AnimationTargetId
Source§impl TypePath for AssetIndex
impl TypePath for AssetIndex
Source§impl TypePath for LoadedUntypedAsset
impl TypePath for LoadedUntypedAsset
Source§impl TypePath for LoadedFolder
impl TypePath for LoadedFolder
Source§impl TypePath for StrongHandle
impl TypePath for StrongHandle
Source§impl TypePath for RenderAssetUsages
impl TypePath for RenderAssetUsages
Source§impl TypePath for DefaultSpatialScale
impl TypePath for DefaultSpatialScale
Source§impl TypePath for SpatialScale
impl TypePath for SpatialScale
Source§impl TypePath for AutoExposure
impl TypePath for AutoExposure
Source§impl TypePath for BloomPrefilter
impl TypePath for BloomPrefilter
Source§impl TypePath for DenoiseCas
impl TypePath for DenoiseCas
Source§impl TypePath for Camera3dDepthTextureUsage
impl TypePath for Camera3dDepthTextureUsage
Source§impl TypePath for DepthOfField
impl TypePath for DepthOfField
Source§impl TypePath for MotionBlur
impl TypePath for MotionBlur
Source§impl TypePath for ChromaticAberration
impl TypePath for ChromaticAberration
Source§impl TypePath for DeferredPrepass
impl TypePath for DeferredPrepass
Source§impl TypePath for DepthPrepass
impl TypePath for DepthPrepass
Source§impl TypePath for MotionVectorPrepass
impl TypePath for MotionVectorPrepass
Source§impl TypePath for NormalPrepass
impl TypePath for NormalPrepass
Source§impl TypePath for TemporalAntiAliasing
impl TypePath for TemporalAntiAliasing
Source§impl TypePath for ComponentId
impl TypePath for ComponentId
Source§impl TypePath for ComponentTicks
impl TypePath for ComponentTicks
Source§impl TypePath for EntityHash
impl TypePath for EntityHash
Source§impl TypePath for EntityHashSet
impl TypePath for EntityHashSet
Source§impl TypePath for DefaultQueryFilters
impl TypePath for DefaultQueryFilters
Source§impl TypePath for Identifier
impl TypePath for Identifier
Source§impl TypePath for RemovedComponentEntity
impl TypePath for RemovedComponentEntity
Source§impl TypePath for SystemIdMarker
impl TypePath for SystemIdMarker
Source§impl TypePath for ErasedGizmoConfigGroup
impl TypePath for ErasedGizmoConfigGroup
Source§impl TypePath for GltfMaterialExtras
impl TypePath for GltfMaterialExtras
Source§impl TypePath for GltfMaterialName
impl TypePath for GltfMaterialName
Source§impl TypePath for GltfMeshExtras
impl TypePath for GltfMeshExtras
Source§impl TypePath for GltfPrimitive
impl TypePath for GltfPrimitive
Source§impl TypePath for GltfSceneExtras
impl TypePath for GltfSceneExtras
Source§impl TypePath for AxisSettings
impl TypePath for AxisSettings
Source§impl TypePath for ButtonAxisSettings
impl TypePath for ButtonAxisSettings
Source§impl TypePath for ButtonSettings
impl TypePath for ButtonSettings
Source§impl TypePath for GamepadAxisChangedEvent
impl TypePath for GamepadAxisChangedEvent
Source§impl TypePath for GamepadButtonChangedEvent
impl TypePath for GamepadButtonChangedEvent
Source§impl TypePath for GamepadConnectionEvent
impl TypePath for GamepadConnectionEvent
Source§impl TypePath for GamepadRumbleIntensity
impl TypePath for GamepadRumbleIntensity
Source§impl TypePath for DoubleTapGesture
impl TypePath for DoubleTapGesture
Source§impl TypePath for PanGesture
impl TypePath for PanGesture
Source§impl TypePath for PinchGesture
impl TypePath for PinchGesture
Source§impl TypePath for RotationGesture
impl TypePath for RotationGesture
Source§impl TypePath for KeyboardFocusLost
impl TypePath for KeyboardFocusLost
Source§impl TypePath for KeyboardInput
impl TypePath for KeyboardInput
Source§impl TypePath for AccumulatedMouseMotion
impl TypePath for AccumulatedMouseMotion
Source§impl TypePath for AccumulatedMouseScroll
impl TypePath for AccumulatedMouseScroll
Source§impl TypePath for MouseButtonInput
impl TypePath for MouseButtonInput
Source§impl TypePath for MouseMotion
impl TypePath for MouseMotion
Source§impl TypePath for MouseWheel
impl TypePath for MouseWheel
Source§impl TypePath for InputFocus
impl TypePath for InputFocus
Source§impl TypePath for InputFocusVisible
impl TypePath for InputFocusVisible
Source§impl TypePath for AspectRatio
impl TypePath for AspectRatio
Source§impl TypePath for BoundingCircle
impl TypePath for BoundingCircle
Source§impl TypePath for BoundingSphere
impl TypePath for BoundingSphere
Source§impl TypePath for AabbCast2d
impl TypePath for AabbCast2d
Source§impl TypePath for BoundingCircleCast
impl TypePath for BoundingCircleCast
Source§impl TypePath for AabbCast3d
impl TypePath for AabbCast3d
Source§impl TypePath for BoundingSphereCast
impl TypePath for BoundingSphereCast
Source§impl TypePath for MeshMorphWeights
impl TypePath for MeshMorphWeights
Source§impl TypePath for AnnulusMeshBuilder
impl TypePath for AnnulusMeshBuilder
Source§impl TypePath for Capsule2dMeshBuilder
impl TypePath for Capsule2dMeshBuilder
Source§impl TypePath for CircleMeshBuilder
impl TypePath for CircleMeshBuilder
Source§impl TypePath for CircularSectorMeshBuilder
impl TypePath for CircularSectorMeshBuilder
Source§impl TypePath for EllipseMeshBuilder
impl TypePath for EllipseMeshBuilder
Source§impl TypePath for RectangleMeshBuilder
impl TypePath for RectangleMeshBuilder
Source§impl TypePath for RegularPolygonMeshBuilder
impl TypePath for RegularPolygonMeshBuilder
Source§impl TypePath for RhombusMeshBuilder
impl TypePath for RhombusMeshBuilder
Source§impl TypePath for Triangle2dMeshBuilder
impl TypePath for Triangle2dMeshBuilder
Source§impl TypePath for Capsule3dMeshBuilder
impl TypePath for Capsule3dMeshBuilder
Source§impl TypePath for ConeMeshBuilder
impl TypePath for ConeMeshBuilder
Source§impl TypePath for ConicalFrustumMeshBuilder
impl TypePath for ConicalFrustumMeshBuilder
Source§impl TypePath for CuboidMeshBuilder
impl TypePath for CuboidMeshBuilder
Source§impl TypePath for CylinderMeshBuilder
impl TypePath for CylinderMeshBuilder
Source§impl TypePath for PlaneMeshBuilder
impl TypePath for PlaneMeshBuilder
Source§impl TypePath for SphereMeshBuilder
impl TypePath for SphereMeshBuilder
Source§impl TypePath for TetrahedronMeshBuilder
impl TypePath for TetrahedronMeshBuilder
Source§impl TypePath for TorusMeshBuilder
impl TypePath for TorusMeshBuilder
Source§impl TypePath for Triangle3dMeshBuilder
impl TypePath for Triangle3dMeshBuilder
Source§impl TypePath for SkinnedMesh
impl TypePath for SkinnedMesh
Source§impl TypePath for Atmosphere
impl TypePath for Atmosphere
Source§impl TypePath for AtmosphereSettings
impl TypePath for AtmosphereSettings
Source§impl TypePath for ClusterZConfig
impl TypePath for ClusterZConfig
Source§impl TypePath for CascadesVisibleEntities
impl TypePath for CascadesVisibleEntities
Source§impl TypePath for CubemapVisibleEntities
impl TypePath for CubemapVisibleEntities
Source§impl TypePath for RenderVisibleMeshEntities
impl TypePath for RenderVisibleMeshEntities
Source§impl TypePath for VisibleMeshEntities
impl TypePath for VisibleMeshEntities
Source§impl TypePath for ClusteredDecal
impl TypePath for ClusteredDecal
Source§impl TypePath for ForwardDecal
impl TypePath for ForwardDecal
Source§impl TypePath for ForwardDecalMaterialExt
impl TypePath for ForwardDecalMaterialExt
Source§impl TypePath for CascadeShadowConfig
impl TypePath for CascadeShadowConfig
Source§impl TypePath for DirectionalLightShadowMap
impl TypePath for DirectionalLightShadowMap
Source§impl TypePath for NotShadowCaster
impl TypePath for NotShadowCaster
Source§impl TypePath for NotShadowReceiver
impl TypePath for NotShadowReceiver
Source§impl TypePath for PointLightShadowMap
impl TypePath for PointLightShadowMap
Source§impl TypePath for TransmittedShadowReceiver
impl TypePath for TransmittedShadowReceiver
Source§impl TypePath for IrradianceVolume
impl TypePath for IrradianceVolume
Source§impl TypePath for MaterialBindGroupIndex
impl TypePath for MaterialBindGroupIndex
Source§impl TypePath for MaterialBindGroupSlot
impl TypePath for MaterialBindGroupSlot
Source§impl TypePath for MaterialBindingId
impl TypePath for MaterialBindingId
Source§impl TypePath for ScreenSpaceReflections
impl TypePath for ScreenSpaceReflections
Source§impl TypePath for VolumetricFog
impl TypePath for VolumetricFog
Source§impl TypePath for VolumetricLight
impl TypePath for VolumetricLight
Source§impl TypePath for Mesh3dWireframe
impl TypePath for Mesh3dWireframe
Source§impl TypePath for NoWireframe
impl TypePath for NoWireframe
Source§impl TypePath for WireframeColor
impl TypePath for WireframeColor
Source§impl TypePath for WireframeConfig
impl TypePath for WireframeConfig
Source§impl TypePath for WireframeMaterial
impl TypePath for WireframeMaterial
Source§impl TypePath for PointerHits
impl TypePath for PointerHits
Source§impl TypePath for RayMeshHit
impl TypePath for RayMeshHit
Source§impl TypePath for SimplifiedMesh
impl TypePath for SimplifiedMesh
Source§impl TypePath for PointerInput
impl TypePath for PointerInput
Source§impl TypePath for PointerInteraction
impl TypePath for PointerInteraction
Source§impl TypePath for PointerLocation
impl TypePath for PointerLocation
Source§impl TypePath for PointerPress
impl TypePath for PointerPress
Source§impl TypePath for FixedHasher
impl TypePath for FixedHasher
Source§impl TypePath for CameraMainTextureUsages
impl TypePath for CameraMainTextureUsages
Source§impl TypePath for CameraRenderGraph
impl TypePath for CameraRenderGraph
Source§impl TypePath for ImageRenderTarget
impl TypePath for ImageRenderTarget
Source§impl TypePath for SubCameraView
impl TypePath for SubCameraView
Source§impl TypePath for TemporalJitter
impl TypePath for TemporalJitter
Source§impl TypePath for ManualTextureViewHandle
impl TypePath for ManualTextureViewHandle
Source§impl TypePath for CustomProjection
impl TypePath for CustomProjection
Source§impl TypePath for OcclusionCulling
impl TypePath for OcclusionCulling
Source§impl TypePath for GlobalsUniform
impl TypePath for GlobalsUniform
Source§impl TypePath for ReadbackComplete
impl TypePath for ReadbackComplete
Source§impl TypePath for CascadesFrusta
impl TypePath for CascadesFrusta
Source§impl TypePath for CubemapFrusta
impl TypePath for CubemapFrusta
Source§impl TypePath for ShaderStorageBuffer
impl TypePath for ShaderStorageBuffer
Source§impl TypePath for SyncToRenderWorld
impl TypePath for SyncToRenderWorld
Source§impl TypePath for TemporaryRenderEntity
impl TypePath for TemporaryRenderEntity
Source§impl TypePath for ColorGrading
impl TypePath for ColorGrading
Source§impl TypePath for ColorGradingGlobal
impl TypePath for ColorGradingGlobal
Source§impl TypePath for ColorGradingSection
impl TypePath for ColorGradingSection
Source§impl TypePath for VisibilityRange
impl TypePath for VisibilityRange
Source§impl TypePath for RenderLayers
impl TypePath for RenderLayers
Source§impl TypePath for NoFrustumCulling
impl TypePath for NoFrustumCulling
Source§impl TypePath for RenderVisibleEntities
impl TypePath for RenderVisibleEntities
Source§impl TypePath for VisibilityClass
impl TypePath for VisibilityClass
Source§impl TypePath for VisibleEntities
impl TypePath for VisibleEntities
Source§impl TypePath for Screenshot
impl TypePath for Screenshot
Source§impl TypePath for ScreenshotCaptured
impl TypePath for ScreenshotCaptured
Source§impl TypePath for InstanceId
impl TypePath for InstanceId
Source§impl TypePath for SceneInstanceReady
impl TypePath for SceneInstanceReady
Source§impl TypePath for Mesh2dWireframe
impl TypePath for Mesh2dWireframe
Source§impl TypePath for NoWireframe2d
impl TypePath for NoWireframe2d
Source§impl TypePath for Wireframe2d
impl TypePath for Wireframe2d
Source§impl TypePath for Wireframe2dColor
impl TypePath for Wireframe2dColor
Source§impl TypePath for Wireframe2dConfig
impl TypePath for Wireframe2dConfig
Source§impl TypePath for Wireframe2dMaterial
impl TypePath for Wireframe2dMaterial
Source§impl TypePath for TextBounds
impl TypePath for TextBounds
Source§impl TypePath for FontAtlasSet
impl TypePath for FontAtlasSet
Source§impl TypePath for GlyphAtlasInfo
impl TypePath for GlyphAtlasInfo
Source§impl TypePath for GlyphAtlasLocation
impl TypePath for GlyphAtlasLocation
Source§impl TypePath for PositionedGlyph
impl TypePath for PositionedGlyph
Source§impl TypePath for TextLayoutInfo
impl TypePath for TextLayoutInfo
Source§impl TypePath for ComputedTextBlock
impl TypePath for ComputedTextBlock
Source§impl TypePath for TextEntity
impl TypePath for TextEntity
Source§impl TypePath for RelativeCursorPosition
impl TypePath for RelativeCursorPosition
Source§impl TypePath for ContentSize
impl TypePath for ContentSize
Source§impl TypePath for ImageNodeSize
impl TypePath for ImageNodeSize
Source§impl TypePath for TextNodeFlags
impl TypePath for TextNodeFlags
Source§impl TypePath for RequestRedraw
impl TypePath for RequestRedraw
Source§impl TypePath for WindowCloseRequested
impl TypePath for WindowCloseRequested
Source§impl TypePath for WindowClosed
impl TypePath for WindowClosed
Source§impl TypePath for WindowClosing
impl TypePath for WindowClosing
Source§impl TypePath for WindowCreated
impl TypePath for WindowCreated
Source§impl TypePath for WindowDestroyed
impl TypePath for WindowDestroyed
Source§impl TypePath for WindowFocused
impl TypePath for WindowFocused
Source§impl TypePath for WindowOccluded
impl TypePath for WindowOccluded
Source§impl TypePath for WindowResized
impl TypePath for WindowResized
Source§impl TypePath for WindowScaleFactorChanged
impl TypePath for WindowScaleFactorChanged
Source§impl TypePath for WindowThemeChanged
impl TypePath for WindowThemeChanged
Source§impl TypePath for PrimaryMonitor
impl TypePath for PrimaryMonitor
Source§impl TypePath for CursorOptions
impl TypePath for CursorOptions
Source§impl TypePath for EnabledButtons
impl TypePath for EnabledButtons
Source§impl TypePath for InternalWindowState
impl TypePath for InternalWindowState
Source§impl TypePath for NormalizedWindowRef
impl TypePath for NormalizedWindowRef
Source§impl TypePath for PrimaryWindow
impl TypePath for PrimaryWindow
Source§impl TypePath for WindowResolution
impl TypePath for WindowResolution
Source§impl TypePath for CustomCursorImage
impl TypePath for CustomCursorImage
Source§impl TypePath for FixedState
impl TypePath for FixedState
Source§impl TypePath for FoldHasher
impl TypePath for FoldHasher
Source§impl TypePath for RandomState
impl TypePath for RandomState
Source§impl TypePath for FixedState
impl TypePath for FixedState
Source§impl TypePath for FoldHasher
impl TypePath for FoldHasher
Source§impl TypePath for RandomState
impl TypePath for RandomState
Source§impl<B, E> TypePath for ExtendedMaterial<B, E>where
B: Material + TypePath,
E: MaterialExtension + TypePath,
ExtendedMaterial<B, E>: Any + Send + Sync,
impl<B, E> TypePath for ExtendedMaterial<B, E>where
B: Material + TypePath,
E: MaterialExtension + TypePath,
ExtendedMaterial<B, E>: Any + Send + Sync,
Source§impl<Config, Clear> TypePath for GizmoBuffer<Config, Clear>where
GizmoBuffer<Config, Clear>: Any + Send + Sync,
Config: GizmoConfigGroup + TypePath,
Clear: 'static + Send + Sync + TypePath,
impl<Config, Clear> TypePath for GizmoBuffer<Config, Clear>where
GizmoBuffer<Config, Clear>: Any + Send + Sync,
Config: GizmoConfigGroup + TypePath,
Clear: 'static + Send + Sync + TypePath,
Source§impl<E> TypePath for FocusedInput<E>
impl<E> TypePath for FocusedInput<E>
Source§impl<H> TypePath for BuildHasherDefault<H>
impl<H> TypePath for BuildHasherDefault<H>
Source§impl<P1, P2, P0> TypePath for (P1, P2, P0)
impl<P1, P2, P0> TypePath for (P1, P2, P0)
Source§impl<P1, P2, P3, P0> TypePath for (P1, P2, P3, P0)
impl<P1, P2, P3, P0> TypePath for (P1, P2, P3, P0)
Source§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)
Source§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)
Source§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)
Source§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)
Source§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)
Source§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)
Source§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)
Source§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)
Source§impl<P> TypePath for LinearSpline<P>
impl<P> TypePath for LinearSpline<P>
Source§impl<T> TypePath for &'static T
impl<T> TypePath for &'static T
Source§impl<T> TypePath for &'static mut T
impl<T> TypePath for &'static mut T
Source§impl<T> TypePath for BinaryHeap<T>
impl<T> TypePath for BinaryHeap<T>
Source§impl<T> TypePath for Saturating<T>
impl<T> TypePath for Saturating<T>
Source§impl<T> TypePath for RangeInclusive<T>
impl<T> TypePath for RangeInclusive<T>
Source§impl<T> TypePath for RangeToInclusive<T>
impl<T> TypePath for RangeToInclusive<T>
Source§impl<T> TypePath for CubicKeyframeCurve<T>
impl<T> TypePath for CubicKeyframeCurve<T>
Source§impl<T> TypePath for SteppedKeyframeCurve<T>
impl<T> TypePath for SteppedKeyframeCurve<T>
Source§impl<T> TypePath for WideCubicKeyframeCurve<T>
impl<T> TypePath for WideCubicKeyframeCurve<T>
Source§impl<T> TypePath for WideLinearKeyframeCurve<T>
impl<T> TypePath for WideLinearKeyframeCurve<T>
Source§impl<T> TypePath for WideSteppedKeyframeCurve<T>
impl<T> TypePath for WideSteppedKeyframeCurve<T>
Source§impl<T> TypePath for ColorCurve<T>
impl<T> TypePath for ColorCurve<T>
Source§impl<T> TypePath for MaybeLocation<T>
impl<T> TypePath for MaybeLocation<T>
Source§impl<T> TypePath for WithDerivative<T>
impl<T> TypePath for WithDerivative<T>
Source§impl<T> TypePath for WithTwoDerivatives<T>
impl<T> TypePath for WithTwoDerivatives<T>
Source§impl<V> TypePath for EntityHashMap<V>
impl<V> TypePath for EntityHashMap<V>
Source§impl<V> TypePath for EntityIndexMap<V>
impl<V> TypePath for EntityIndexMap<V>
Source§impl<const N: usize> TypePath for ConvexPolygonMeshBuilder<N>
impl<const N: usize> TypePath for ConvexPolygonMeshBuilder<N>
Implementors§
impl TypePath for AlignContent
impl TypePath for AlignItems
impl TypePath for AlignSelf
impl TypePath for AlphaMode
impl TypePath for AnimationNodeType
impl TypePath for BoxSizing
impl TypePath for ClearColorConfig
impl TypePath for Color
impl TypePath for Display
impl TypePath for EaseFunction
impl TypePath for EulerRot
impl TypePath for FileDragAndDrop
impl TypePath for FlexDirection
impl TypePath for FlexWrap
impl TypePath for FogFalloff
impl TypePath for GamepadAxis
impl TypePath for GamepadButton
impl TypePath for GizmoLineJoint
impl TypePath for GizmoLineStyle
impl TypePath for GridAutoFlow
impl TypePath for GridTrackRepetition
impl TypePath for Ime
impl TypePath for Interaction
impl TypePath for JumpAt
impl TypePath for JustifyContent
impl TypePath for JustifyItems
impl TypePath for JustifySelf
impl TypePath for JustifyText
impl TypePath for KeyCode
impl TypePath for LightGizmoColor
impl TypePath for LineBreak
impl TypePath for MaxTrackSizingFunction
impl TypePath for MinTrackSizingFunction
impl TypePath for MonitorSelection
impl TypePath for MouseButton
impl TypePath for Msaa
impl TypePath for NodeImageMode
impl TypePath for OverflowAxis
impl TypePath for OverflowClipBox
impl TypePath for ParallaxMappingMethod
impl TypePath for PointerButton
impl TypePath for PositionType
impl TypePath for Projection
impl TypePath for RayCastVisibility
impl TypePath for bevy_ui_builders::ScalingMode
impl TypePath for SliceScaleMode
impl TypePath for SpriteImageMode
impl TypePath for SpritePickingMode
impl TypePath for TimerMode
impl TypePath for UiAntiAlias
impl TypePath for Val
impl TypePath for VideoModeSelection
impl TypePath for Visibility
impl TypePath for WindowPosition
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 AabbGizmoConfigGroup
impl TypePath for AmbientLight
impl TypePath for AnimationClip
impl TypePath for AnimationGraph
impl TypePath for AnimationGraphHandle
impl TypePath for AnimationGraphNode
impl TypePath for AnimationPlayer
impl TypePath for AnimationTransition
impl TypePath for AnimationTransitions
impl TypePath for Annulus
impl TypePath for Arc2d
impl TypePath for AudioSource
impl TypePath for BVec2
impl TypePath for BVec3
impl TypePath for BVec3A
impl TypePath for BVec4
impl TypePath for BVec4A
impl TypePath for BackgroundColor
impl TypePath for BorderColor
impl TypePath for BorderRadius
impl TypePath for BorderRect
impl TypePath for BoxShadow
impl TypePath for BoxShadowSamples
impl TypePath for Button
impl TypePath for CalculatedClip
impl TypePath for Camera2d
impl TypePath for Camera3d
impl TypePath for Camera
impl TypePath for Cancel
impl TypePath for Capsule2d
impl TypePath for Capsule3d
impl TypePath for ChildOf
impl TypePath for Children
impl TypePath for Circle
impl TypePath for CircularSector
impl TypePath for CircularSegment
impl TypePath for ClearColor
impl TypePath for Click
impl TypePath for ColorMaterial
impl TypePath for ComputedNode
impl TypePath for ComputedNodeTarget
impl TypePath for Cone
impl TypePath for ConicalFrustum
impl TypePath for Cuboid
impl TypePath for CursorEntered
impl TypePath for CursorLeft
impl TypePath for CursorMoved
impl TypePath for Cylinder
impl TypePath for DefaultGizmoConfigGroup
impl TypePath for Dir2
impl TypePath for Dir3
impl TypePath for Dir3A
impl TypePath for DirectionalLight
impl TypePath for DistanceFog
impl TypePath for Drag
impl TypePath for DragDrop
impl TypePath for DragEnd
impl TypePath for DragEnter
impl TypePath for DragEntry
impl TypePath for DragLeave
impl TypePath for DragOver
impl TypePath for DragStart
impl TypePath for DynamicScene
impl TypePath for DynamicSceneRoot
impl TypePath for Ellipse
impl TypePath for Entity
impl TypePath for EnvironmentMapLight
impl TypePath for Fixed
impl TypePath for Font
impl TypePath for Gamepad
impl TypePath for GamepadSettings
impl TypePath for Gizmo
impl TypePath for GizmoAsset
impl TypePath for GizmoConfig
impl TypePath for GizmoConfigStore
impl TypePath for GizmoLineConfig
impl TypePath for GlobalTransform
impl TypePath for GlobalVolume
impl TypePath for GlobalZIndex
impl TypePath for Gltf
impl TypePath for GltfExtras
impl TypePath for GridPlacement
impl TypePath for GridTrack
impl TypePath for Hsla
impl TypePath for Hsva
impl TypePath for Hwba
impl TypePath for IRect
impl TypePath for IVec2
impl TypePath for IVec3
impl TypePath for IVec4
impl TypePath for Image
impl TypePath for ImageNode
impl TypePath for InfinitePlane3d
impl TypePath for InheritedVisibility
impl TypePath for Interval
impl TypePath for Isometry2d
impl TypePath for Isometry3d
impl TypePath for Laba
impl TypePath for LayoutConfig
impl TypePath for Lcha
impl TypePath for LightGizmoConfigGroup
impl TypePath for LightProbe
impl TypePath for Line2d
impl TypePath for Line3d
impl TypePath for LinearRgba
impl TypePath for Mat2
impl TypePath for Mat3
impl TypePath for Mat3A
impl TypePath for Mat4
impl TypePath for Mesh2d
impl TypePath for Mesh3d
impl TypePath for Mesh
impl TypePath for MeshPickingCamera
impl TypePath for MeshPickingSettings
impl TypePath for MorphWeights
impl TypePath for Move
impl TypePath for Name
impl TypePath for Node
impl TypePath for Oklaba
impl TypePath for Oklcha
impl TypePath for OnAdd
impl TypePath for OnInsert
impl TypePath for OnRemove
impl TypePath for OnReplace
impl TypePath for OrthographicProjection
impl TypePath for Out
impl TypePath for Outline
impl TypePath for Over
impl TypePath for Overflow
impl TypePath for OverflowClipMargin
impl TypePath for PerspectiveProjection
impl TypePath for Pickable
impl TypePath for PickingPlugin
impl TypePath for Pitch
impl TypePath for Plane2d
impl TypePath for Plane3d
impl TypePath for PlaybackSettings
impl TypePath for PointLight
impl TypePath for PointerInputPlugin
impl TypePath for Pressed
impl TypePath for Quat
impl TypePath for Ray2d
impl TypePath for Ray3d
impl TypePath for RayCastBackfaces
impl TypePath for Real
impl TypePath for Rect
impl TypePath for Rectangle
impl TypePath for RegularPolygon
impl TypePath for Released
impl TypePath for RepeatedGridTrack
impl TypePath for ResolvedBorderRadius
impl TypePath for Rhombus
impl TypePath for Rot2
impl TypePath for Scene
impl TypePath for SceneRoot
impl TypePath for Scroll
impl TypePath for ScrollPosition
impl TypePath for Segment2d
impl TypePath for Segment3d
impl TypePath for Shader
impl TypePath for ShadowStyle
impl TypePath for ShowAabbGizmo
impl TypePath for ShowLightGizmo
impl TypePath for SpatialListener
impl TypePath for Sphere
impl TypePath for SpotLight
impl TypePath for Sprite
impl TypePath for SpritePickingCamera
impl TypePath for SpritePickingSettings
impl TypePath for Srgba
impl TypePath for StandardMaterial
impl TypePath for String
impl TypePath for Tetrahedron
impl TypePath for Text2d
impl TypePath for Text
impl TypePath for TextColor
impl TypePath for TextFont
impl TypePath for TextLayout
impl TypePath for TextShadow
impl TypePath for TextSpan
impl TypePath for TextureAtlas
impl TypePath for TextureAtlasLayout
impl TypePath for TextureSlicer
impl TypePath for ThreadedAnimationGraph
impl TypePath for ThreadedAnimationGraphs
impl TypePath for Timer
impl TypePath for Torus
impl TypePath for TouchInput
impl TypePath for Transform
impl TypePath for TransformTreeChanged
impl TypePath for Triangle2d
impl TypePath for Triangle3d
impl TypePath for URect
impl TypePath for UVec2
impl TypePath for UVec3
impl TypePath for UVec4
impl TypePath for UiPickingCamera
impl TypePath for UiPickingSettings
impl TypePath for UiRect
impl TypePath for UiScale
impl TypePath for UiTargetCamera
impl TypePath for VariableCurve
impl TypePath for Vec2
impl TypePath for Vec3
impl TypePath for Vec3A
impl TypePath for Vec4
impl TypePath for ViewVisibility
impl TypePath for Virtual
impl TypePath for Window
impl TypePath for WindowMoved
impl TypePath for WindowResizeConstraints
impl TypePath for Xyza
impl TypePath for ZIndex
impl TypePath for dyn PartialReflect
impl TypePath for dyn Reflect
impl<A> TypePath for AssetEvent<A>
impl<A> TypePath for AssetId<A>
impl<A> TypePath for Handle<A>
impl<A> TypePath for AnimatableCurveEvaluator<A>
impl<C> TypePath for SampleDerivativeWrapper<C>
impl<C> TypePath for SampleTwoDerivativesWrapper<C>
impl<C> TypePath for bevy_ui_builders::WeightsCurve<C>
impl<E> TypePath for Events<E>
impl<E> TypePath for Pointer<E>
impl<M> TypePath for MaterialNode<M>
impl<M> TypePath for MeshMaterial2d<M>
impl<M> TypePath for MeshMaterial3d<M>
impl<P> TypePath for CubicBSpline<P>
impl<P> TypePath for CubicBezier<P>
impl<P> TypePath for CubicCardinalSpline<P>
impl<P> TypePath for CubicCurve<P>
impl<P> TypePath for CubicHermite<P>
impl<P> TypePath for CubicNurbs<P>
impl<P> TypePath for CubicSegment<P>
impl<P> TypePath for RationalCurve<P>
impl<P> TypePath for RationalSegment<P>
impl<P, C> TypePath for AnimatableCurve<P, C>
impl<S> TypePath for NextState<S>
impl<S> TypePath for State<S>
impl<S> TypePath for StateScoped<S>
impl<S, T, C, D> TypePath for ZipCurve<S, T, C, D>
impl<S, T, C, F> TypePath for MapCurve<S, T, C, F>
Note: This is not a fully stable implementation of TypePath due to usage of type_name
for function members.
impl<Source> TypePath for AudioPlayer<Source>
impl<T> TypePath for InterpolationDatum<T>
impl<T> TypePath for ChunkedUnevenCore<T>
impl<T> TypePath for AnimatableKeyframeCurve<T>
impl<T> TypePath for Axis<T>
impl<T> TypePath for ButtonInput<T>
impl<T> TypePath for ConstantCurve<T>
impl<T> TypePath for EasingCurve<T>
impl<T> TypePath for EvenCore<T>
impl<T> TypePath for SampleAutoCurve<T>
impl<T> TypePath for Time<T>
impl<T> TypePath for UnevenCore<T>
impl<T> TypePath for UnevenSampleAutoCurve<T>
impl<T> TypePath for Vec<T>
impl<T, C> TypePath for ForeverCurve<T, C>
impl<T, C> TypePath for GraphCurve<T, C>
impl<T, C> TypePath for LinearReparamCurve<T, C>
impl<T, C> TypePath for PingPongCurve<T, C>
impl<T, C> TypePath for RepeatCurve<T, C>
impl<T, C> TypePath for ReverseCurve<T, C>
impl<T, C, D> TypePath for ChainCurve<T, C, D>
impl<T, C, D> TypePath for ContinuationCurve<T, C, D>
impl<T, C, D> TypePath for CurveReparamCurve<T, C, D>
impl<T, C, F> TypePath for ReparamCurve<T, C, F>
Note: This is not a fully stable implementation of TypePath due to usage of type_name
for function members.
impl<T, F> TypePath for FunctionCurve<T, F>where
T: TypePath,
F: 'static,
Note: This is not a fully stable implementation of TypePath due to usage of type_name
for function members.
impl<T, I> TypePath for SampleCurve<T, I>where
T: TypePath,
I: 'static,
Note: This is not a fully stable implementation of TypePath due to usage of type_name
for function members.
impl<T, I> TypePath for UnevenSampleCurve<T, I>where
T: TypePath,
I: 'static,
Note: This is not a fully stable implementation of TypePath due to usage of type_name
for function members.