Skip to main content

Typed

Trait Typed 

Source
pub trait Typed: Reflect + TypePath {
    // Required method
    fn type_info() -> &'static TypeInfo;
}
Expand description

A static accessor to compile-time type information.

This trait is automatically implemented by the #[derive(Reflect)] macro and allows type information to be processed without an instance of that type.

If you need to use this trait as a generic bound along with other reflection traits, for your convenience, consider using Reflectable instead.

§Implementing

While it is recommended to leave implementing this trait to the #[derive(Reflect)] macro, it is possible to implement this trait manually. If a manual implementation is needed, you must ensure that the information you provide is correct, otherwise various systems that rely on this trait may fail in unexpected ways.

Implementors may have difficulty in generating a reference to TypeInfo with a static lifetime. Luckily, this crate comes with some utility structs, to make generating these statics much simpler.

§Example

use bevy_reflect::Typed;

struct MyStruct {
  foo: usize,
  bar: (f32, f32)
}

impl Typed for MyStruct {
  fn type_info() -> &'static TypeInfo {
    static CELL: NonGenericTypeInfoCell = NonGenericTypeInfoCell::new();
    CELL.get_or_set(|| {
      let fields = [
        NamedField::new::<usize >("foo"),
        NamedField::new::<(f32, f32) >("bar"),
      ];
      let info = StructInfo::new::<Self>(&fields);
      TypeInfo::Struct(info)
    })
  }
}

Required Methods§

Source

fn type_info() -> &'static TypeInfo

Returns the compile-time info for the underlying type.

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 Typed for &'static Location<'static>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for &'static Path

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for &'static str

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for ()

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for AlphaMode

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<bool>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<i8>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<i16>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<i32>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<i64>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<isize>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<u8>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<u16>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<u32>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<u64>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Atomic<usize>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Cow<'static, Path>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Cow<'static, str>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Duration

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<i8>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<i16>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<i32>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<i64>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<i128>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<isize>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<u8>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<u16>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<u32>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<u64>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<u128>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for NonZero<usize>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for OpaqueRendererMethod

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for OsString

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for PathBuf

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for RangeFull

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for SocketAddr

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for TypeId

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for bool

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for char

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for f32

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for f64

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for i8

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for i16

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for i32

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for i64

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for i128

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for isize

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for u8

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for u16

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for u32

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for u64

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for u128

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for usize

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Typed for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration, H: Reflect + MaybeTyped + TypePath + GetTypeRegistration, I: Reflect + MaybeTyped + TypePath + GetTypeRegistration, J: Reflect + MaybeTyped + TypePath + GetTypeRegistration, K: Reflect + MaybeTyped + TypePath + GetTypeRegistration, L: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> Typed for (A, B, C, D, E, F, G, H, I, J, K)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration, H: Reflect + MaybeTyped + TypePath + GetTypeRegistration, I: Reflect + MaybeTyped + TypePath + GetTypeRegistration, J: Reflect + MaybeTyped + TypePath + GetTypeRegistration, K: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G, H, I, J> Typed for (A, B, C, D, E, F, G, H, I, J)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration, H: Reflect + MaybeTyped + TypePath + GetTypeRegistration, I: Reflect + MaybeTyped + TypePath + GetTypeRegistration, J: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G, H, I> Typed for (A, B, C, D, E, F, G, H, I)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration, H: Reflect + MaybeTyped + TypePath + GetTypeRegistration, I: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G, H> Typed for (A, B, C, D, E, F, G, H)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration, H: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F, G> Typed for (A, B, C, D, E, F, G)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration, G: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E, F> Typed for (A, B, C, D, E, F)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration, F: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D, E> Typed for (A, B, C, D, E)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration, E: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C, D> Typed for (A, B, C, D)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration, D: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B, C> Typed for (A, B, C)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration, C: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A, B> Typed for (A, B)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration, B: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<A> Typed for (A,)
where A: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<K, V, S> Typed for HashMap<K, V, S>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<K, V, S> Typed for IndexMap<K, V, S>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<K, V> Typed for BTreeMap<K, V>
where K: FromReflect + MaybeTyped + TypePath + GetTypeRegistration + Eq + Ord, V: FromReflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T, E> Typed for Result<T, E>
where Result<T, E>: Any + Send + Sync, T: TypePath + FromReflect + MaybeTyped + RegisterForReflection, E: TypePath + FromReflect + MaybeTyped + RegisterForReflection,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T, S> Typed for IndexSet<T, S>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T, const N: usize> Typed for [T; N]
where T: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for BTreeSet<T>
where T: Ord + Eq + Clone + Send + Sync + TypePath, BTreeSet<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for BinaryHeap<T>
where T: Clone + TypePath, BinaryHeap<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Bound<T>
where T: Clone + Send + Sync + TypePath, Bound<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Cow<'static, [T]>
where T: FromReflect + MaybeTyped + Clone + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Option<T>
where Option<T>: Any + Send + Sync, T: TypePath + FromReflect + MaybeTyped + RegisterForReflection,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Range<T>
where T: Clone + Send + Sync + TypePath, Range<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for RangeFrom<T>
where T: Clone + Send + Sync + TypePath, RangeFrom<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for RangeInclusive<T>
where T: Clone + Send + Sync + TypePath, RangeInclusive<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for RangeTo<T>
where T: Clone + Send + Sync + TypePath, RangeTo<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for RangeToInclusive<T>
where T: Clone + Send + Sync + TypePath, RangeToInclusive<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Saturating<T>
where T: Clone + Send + Sync + TypePath, Saturating<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for SmallVec<T>
where T: Array + TypePath + Send + Sync + 'static, <T as Array>::Item: FromReflect + MaybeTyped + TypePath,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for VecDeque<T>
where T: FromReflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<T> Typed for Wrapping<T>
where T: Clone + Send + Sync + TypePath, Wrapping<T>: Any + Send + Sync,

Source§

fn type_info() -> &'static TypeInfo

Source§

impl<V, S> Typed for HashSet<V, S>

Source§

fn type_info() -> &'static TypeInfo

Implementors§

Source§

impl Typed for Aabb

Source§

impl Typed for Aabb2d

Source§

impl Typed for Aabb3d

Source§

impl Typed for AabbCast2d

Source§

impl Typed for AabbCast3d

Source§

impl Typed for AccessibilityRequested

Source§

impl Typed for AccessibilitySystems

Source§

impl Typed for AccumulatedMouseMotion

Source§

impl Typed for AccumulatedMouseScroll

Source§

impl Typed for AddEvent

Source§

impl Typed for Affine2

Source§

impl Typed for Affine3

Source§

impl Typed for Affine3A

Source§

impl Typed for Annulus

Source§

impl Typed for AnnulusMeshBuilder

Source§

impl Typed for AppExit

Source§

impl Typed for AppLifecycle

Source§

impl Typed for Arc2d

Source§

impl Typed for AspectRatio

Source§

impl Typed for AssetIndex

Source§

impl Typed for BVec2

Source§

impl Typed for BVec3

Source§

impl Typed for BVec4

Source§

impl Typed for BVec3A

Source§

impl Typed for BVec4A

Source§

impl Typed for BlendState

Source§

impl Typed for BoundingCircle

Source§

impl Typed for BoundingCircleCast

Source§

impl Typed for BoundingSphere

Source§

impl Typed for BoundingSphereCast

Source§

impl Typed for ButtonState

Source§

impl Typed for Camera

Source§

impl Typed for Camera2d

Source§

impl Typed for Camera3d

Source§

impl Typed for Camera3dDepthLoadOp

Source§

impl Typed for Camera3dDepthTextureUsage

Source§

impl Typed for CameraMainTextureUsages

Source§

impl Typed for CameraOutputMode

Source§

impl Typed for CameraRenderGraph

Source§

impl Typed for Capsule2d

Source§

impl Typed for Capsule2dMeshBuilder

Source§

impl Typed for Capsule3d

Source§

impl Typed for Capsule3dMeshBuilder

Source§

impl Typed for CapsuleUvProfile

Source§

impl Typed for CascadesFrusta

Source§

impl Typed for CascadesVisibleEntities

Source§

impl Typed for ChildOf

Source§

impl Typed for Children

Source§

impl Typed for Chromaticity

Source§

impl Typed for Circle

Source§

impl Typed for CircleMeshBuilder

Source§

impl Typed for CircularMeshUvMode

Source§

impl Typed for CircularSector

Source§

impl Typed for CircularSectorMeshBuilder

Source§

impl Typed for CircularSegment

Source§

impl Typed for CircularSegmentMeshBuilder

Source§

impl Typed for ClearColor

Source§

impl Typed for ClearColorConfig

Source§

impl Typed for Color

Source§

impl Typed for ColorGrading

Source§

impl Typed for ColorGradingGlobal

Source§

impl Typed for ColorGradingSection

Source§

impl Typed for CompassOctant

Source§

impl Typed for CompassQuadrant

Source§

impl Typed for ComponentId

Source§

impl Typed for ComponentTicks

Source§

impl Typed for CompositeAlphaMode

Source§

impl Typed for CompositingSpace

Source§

impl Typed for ComputedCameraValues

Source§

impl Typed for Cone

Source§

impl Typed for ConeAnchor

Source§

impl Typed for ConeMeshBuilder

Source§

impl Typed for ConicalFrustum

Source§

impl Typed for ConicalFrustumMeshBuilder

Source§

impl Typed for ConvexPolygon

Source§

impl Typed for ConvexPolygonMeshBuilder

Source§

impl Typed for CubemapFrusta

Source§

impl Typed for CubemapLayout

Source§

impl Typed for CubemapVisibleEntities

Source§

impl Typed for Cuboid

Source§

impl Typed for CuboidMeshBuilder

Source§

impl Typed for CursorEntered

Source§

impl Typed for CursorGrabMode

Source§

impl Typed for CursorIcon

Source§

impl Typed for CursorLeft

Source§

impl Typed for CursorMoved

Source§

impl Typed for CursorOptions

Source§

impl Typed for CursorSystems

Source§

impl Typed for CustomProjection

Source§

impl Typed for Cylinder

Source§

impl Typed for CylinderAnchor

Source§

impl Typed for CylinderMeshBuilder

Source§

impl Typed for DAffine2

Source§

impl Typed for DAffine3

Source§

impl Typed for DMat2

Source§

impl Typed for DMat3

Source§

impl Typed for DMat4

Source§

impl Typed for DQuat

Source§

impl Typed for DVec2

Source§

impl Typed for DVec3

Source§

impl Typed for DVec4

Source§

impl Typed for DebandDither

Source§

impl Typed for DefaultQueryFilters

Source§

impl Typed for DelayedCommandQueue

Source§

impl Typed for DespawnEvent

Source§

impl Typed for Dir2

Source§

impl Typed for Dir3

Source§

impl Typed for Dir4

Source§

impl Typed for Dir3A

Source§

impl Typed for Disabled

Source§

impl Typed for DiscardEvent

Source§

impl Typed for DoubleTapGesture

Source§

impl Typed for DynamicSkinnedMeshBounds

Source§

impl Typed for Ellipse

Source§

impl Typed for EllipseMeshBuilder

Source§

impl Typed for EnabledButtons

Source§

impl Typed for Entity

Source§

impl Typed for EntityGeneration

Source§

impl Typed for EntityHash

Source§

impl Typed for EntityIndex

Source§

impl Typed for EulerRot

Source§

impl Typed for Exposure

Source§

impl Typed for FileDragAndDrop

Source§

impl Typed for Fixed

Source§

impl Typed for FloatOrd

Source§

impl Typed for ForceTouch

Source§

impl Typed for Frustum

Source§

impl Typed for GlobalTransform

Source§

impl Typed for GlobalsUniform

Source§

impl Typed for HalfSpace

Source§

impl Typed for HashedStr

Source§

impl Typed for Hdr

Source§

impl Typed for Hsla

Source§

impl Typed for Hsva

Source§

impl Typed for Hwba

Source§

impl Typed for I8Vec2

Source§

impl Typed for I8Vec3

Source§

impl Typed for I8Vec4

Source§

impl Typed for I16Vec2

Source§

impl Typed for I16Vec3

Source§

impl Typed for I16Vec4

Source§

impl Typed for I64Vec2

Source§

impl Typed for I64Vec3

Source§

impl Typed for I64Vec4

Source§

impl Typed for IRect

Source§

impl Typed for IVec2

Source§

impl Typed for IVec3

Source§

impl Typed for IVec4

Source§

impl Typed for Image

Source§

impl Typed for ImageAddressMode

Source§

impl Typed for ImageCompareFunction

Source§

impl Typed for ImageFilterMode

Source§

impl Typed for ImageRenderTarget

Source§

impl Typed for ImageSampler

Source§

impl Typed for ImageSamplerBorderColor

Source§

impl Typed for ImageSamplerDescriptor

Source§

impl Typed for Ime

Source§

impl Typed for Indices

Source§

impl Typed for InfinitePlane3d

Source§

impl Typed for InheritedVisibility

Source§

impl Typed for InsertEvent

Source§

impl Typed for Instant

Source§

impl Typed for InternalWindowState

Source§

impl Typed for IsResource

Source§

impl Typed for Isometry2d

Source§

impl Typed for Isometry3d

Source§

impl Typed for JointAabb

Source§

impl Typed for JointIndex

Source§

impl Typed for Key

Source§

impl Typed for KeyCode

Source§

impl Typed for KeyboardFocusLost

Source§

impl Typed for KeyboardInput

Source§

impl Typed for Laba

Source§

impl Typed for Lcha

Source§

impl Typed for Line2d

Source§

impl Typed for Line3d

Source§

impl Typed for LinearRgba

Source§

impl Typed for MainEntity

Source§

impl Typed for MainPassResolutionOverride

Source§

impl Typed for ManageAccessibilityUpdates

Source§

impl Typed for ManualTextureViewHandle

Source§

impl Typed for Mat2

Source§

impl Typed for Mat3

Source§

impl Typed for Mat4

Source§

impl Typed for Mat3A

Source§

impl Typed for MaterialBindGroupIndex

Source§

impl Typed for MaterialBindGroupSlot

Source§

impl Typed for MaterialBindingId

Source§

impl Typed for Mesh

Source§

impl Typed for Mesh2d

Source§

impl Typed for Mesh3d

Source§

impl Typed for MeshAttributeCompressionFlags

Source§

impl Typed for MeshTag

Source§

impl Typed for MipBias

Source§

impl Typed for Monitor

Source§

impl Typed for MonitorSelection

Source§

impl Typed for MouseButton

Source§

impl Typed for MouseButtonInput

Source§

impl Typed for MouseMotion

Source§

impl Typed for MouseScrollPixelsPerLine

Source§

impl Typed for MouseScrollUnit

Source§

impl Typed for MouseWheel

Source§

impl Typed for Msaa

Source§

impl Typed for MsaaWriteback

Source§

impl Typed for Name

Source§

impl Typed for NativeKey

Source§

impl Typed for NativeKeyCode

Source§

impl Typed for NoAutoAabb

Source§

impl Typed for NoFrustumCulling

Source§

impl Typed for NonNilUuid

Source§

impl Typed for NormalizedRenderTarget

Source§

impl Typed for NormalizedWindowRef

Source§

impl Typed for ObservedBy

Source§

impl Typed for OcclusionCulling

Source§

impl Typed for OffsetAccess

Source§

impl Typed for Okhsla

Source§

impl Typed for Okhsva

Source§

impl Typed for Okhwba

Source§

impl Typed for Oklaba

Source§

impl Typed for Oklcha

Source§

impl Typed for OrthographicProjection

Source§

impl Typed for PanGesture

Source§

impl Typed for ParsedPath

Source§

impl Typed for PerspectiveProjection

Source§

impl Typed for PinchGesture

Source§

impl Typed for Plane2d

Source§

impl Typed for Plane3d

Source§

impl Typed for PlaneMeshBuilder

Source§

impl Typed for Polygon

Source§

impl Typed for Polyline2d

Source§

impl Typed for Polyline2dMeshBuilder

Source§

impl Typed for Polyline3d

Source§

impl Typed for PresentMode

Source§

impl Typed for PrimaryMonitor

Source§

impl Typed for PrimaryWindow

Source§

impl Typed for Projection

Source§

impl Typed for Quat

Source§

impl Typed for Ray2d

Source§

impl Typed for Ray3d

Source§

impl Typed for RayCast2d

Source§

impl Typed for RayCast3d

Source§

impl Typed for ReadbackComplete

Source§

impl Typed for ReadbackOnce

Source§

impl Typed for Real

Source§

impl Typed for Rect

Source§

impl Typed for Rectangle

Source§

impl Typed for RectangleMeshBuilder

Source§

impl Typed for RegularPolygon

Source§

impl Typed for RegularPolygonMeshBuilder

Source§

impl Typed for RemoveEvent

Source§

impl Typed for RemovedComponentEntity

Source§

impl Typed for RenderAssetUsages

Source§

impl Typed for RenderLayers

Source§

impl Typed for RenderShadowMapVisibleEntities

Source§

impl Typed for RenderTarget

Source§

impl Typed for RenderTargetInfo

Source§

impl Typed for RenderVisibleEntitiesClass

Source§

impl Typed for RequestRedraw

Source§

impl Typed for RgbPrimaries

Source§

impl Typed for Rhombus

Source§

impl Typed for RhombusMeshBuilder

Source§

impl Typed for Rot2

Source§

impl Typed for RotationGesture

Source§

impl Typed for ScalingMode

Source§

impl Typed for ScreenEdge

Source§

impl Typed for Screenshot

Source§

impl Typed for ScreenshotCaptured

Source§

impl Typed for Segment2d

Source§

impl Typed for Segment3d

Source§

impl Typed for ShaderBuffer

Source§

impl Typed for ShaderBufferData

Source§

impl Typed for ShadowLodOrigin

Source§

impl Typed for SkinnedMesh

Source§

impl Typed for SkinnedMeshBounds

Source§

impl Typed for bevy::camera::primitives::Sphere

Source§

impl Typed for bevy::prelude::Sphere

Source§

impl Typed for SphereKind

Source§

impl Typed for SphereMeshBuilder

Source§

impl Typed for Srgba

Source§

impl Typed for StaticTransformOptimizations

Source§

impl Typed for Stopwatch

Source§

impl Typed for String

Source§

impl Typed for SubCameraView

Source§

impl Typed for SystemCursorIcon

Source§

impl Typed for TemporalJitter

Source§

impl Typed for Tetrahedron

Source§

impl Typed for TetrahedronMeshBuilder

Source§

impl Typed for TextureAtlas

Source§

impl Typed for TextureAtlasLayout

Source§

impl Typed for TextureFormat

Source§

impl Typed for Tick

Source§

impl Typed for Timer

Source§

impl Typed for TimerMode

Source§

impl Typed for Tonemapping

Source§

impl Typed for Torus

Source§

impl Typed for TorusMeshBuilder

Source§

impl Typed for TouchInput

Source§

impl Typed for TouchPhase

Source§

impl Typed for Transform

Source§

impl Typed for TransformTreeChanged

Source§

impl Typed for Triangle2d

Source§

impl Typed for Triangle2dMeshBuilder

Source§

impl Typed for Triangle3d

Source§

impl Typed for Triangle3dMeshBuilder

Source§

impl Typed for U8Vec2

Source§

impl Typed for U8Vec3

Source§

impl Typed for U8Vec4

Source§

impl Typed for U16Vec2

Source§

impl Typed for U16Vec3

Source§

impl Typed for U16Vec4

Source§

impl Typed for U64Vec2

Source§

impl Typed for U64Vec3

Source§

impl Typed for U64Vec4

Source§

impl Typed for URect

Source§

impl Typed for UVec2

Source§

impl Typed for UVec3

Source§

impl Typed for UVec4

Source§

impl Typed for UntypedAssetId

Source§

impl Typed for UntypedHandle

Source§

impl Typed for Uuid

Source§

impl Typed for UvChannel

Source§

impl Typed for Vec2

Source§

impl Typed for Vec3

Source§

impl Typed for Vec4

Source§

impl Typed for Vec3A

Source§

impl Typed for VideoMode

Source§

impl Typed for VideoModeSelection

Source§

impl Typed for ViewFrustum

Source§

impl Typed for ViewVisibility

Source§

impl Typed for Viewport

Source§

impl Typed for Virtual

Source§

impl Typed for Visibility

Source§

impl Typed for VisibilityClass

Source§

impl Typed for VisibilityRange

Source§

impl Typed for VisibleEntities

Source§

impl Typed for VisibleMeshEntities

Source§

impl Typed for Window

Source§

impl Typed for WindowBackendScaleFactorChanged

Source§

impl Typed for WindowCloseRequested

Source§

impl Typed for WindowClosed

Source§

impl Typed for WindowClosing

Source§

impl Typed for WindowCreated

Source§

impl Typed for WindowDestroyed

Source§

impl Typed for WindowEvent

Source§

impl Typed for WindowFocused

Source§

impl Typed for WindowLevel

Source§

impl Typed for WindowMode

Source§

impl Typed for WindowMoved

Source§

impl Typed for WindowOccluded

Source§

impl Typed for WindowPosition

Source§

impl Typed for WindowRef

Source§

impl Typed for WindowResizeConstraints

Source§

impl Typed for WindowResized

Source§

impl Typed for WindowResolution

Source§

impl Typed for WindowScaleFactorChanged

Source§

impl Typed for WindowTheme

Source§

impl Typed for WindowThemeChanged

Source§

impl Typed for Xyza

Source§

impl Typed for dyn Reflect

Source§

impl<'a> Typed for Access<'a>
where Access<'a>: 'static,

Source§

impl<'a> Typed for AssetPath<'a>
where AssetPath<'a>: 'static,

Source§

impl<A> Typed for AssetEvent<A>
where A: Asset + TypePath, AssetEvent<A>: Any + Send + Sync, AssetId<A>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<A> Typed for AssetId<A>
where A: Asset + TypePath, AssetId<A>: Any + Send + Sync,

Source§

impl<A> Typed for Handle<A>
where A: Asset + TypePath, Handle<A>: Any + Send + Sync,

Source§

impl<C> Typed for Inherited<C>
where C: Component + Clone + PartialEq + TypePath + FromReflect + MaybeTyped + RegisterForReflection, Inherited<C>: Any + Send + Sync,

Source§

impl<C> Typed for Propagate<C>
where C: Component + Clone + PartialEq + TypePath + FromReflect + MaybeTyped + RegisterForReflection, Propagate<C>: Any + Send + Sync,

Source§

impl<C> Typed for PropagateOver<C>
where PropagateOver<C>: Any + Send + Sync, C: TypePath, PhantomData<fn() -> C>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<C> Typed for PropagateStop<C>
where PropagateStop<C>: Any + Send + Sync, C: TypePath, PhantomData<fn() -> C>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<K, V, S> Typed for bevy::platform::collections::HashMap<K, V, S>

Source§

impl<K, V> Typed for EntityEquivalentHashMap<K, V>
where K: EntityEquivalent + Hash + TypePath, EntityEquivalentHashMap<K, V>: Any + Send + Sync, V: TypePath, HashMap<K, V, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<K, V> Typed for EntityEquivalentIndexMap<K, V>
where K: EntityEquivalent + Hash + TypePath, EntityEquivalentIndexMap<K, V>: Any + Send + Sync, V: TypePath, IndexMap<K, V, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<K> Typed for EntityEquivalentHashSet<K>
where K: EntityEquivalent + Hash + TypePath, EntityEquivalentHashSet<K>: Any + Send + Sync, HashSet<K, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<K> Typed for EntityEquivalentIndexSet<K>
where K: EntityEquivalent + Hash + TypePath, EntityEquivalentIndexSet<K>: Any + Send + Sync, IndexSet<K, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<L> Typed for TemporaryEntity<L>
where L: AppLabel + Clone + Eq + Copy + Default + TypePath, TemporaryEntity<L>: Any + Send + Sync, PhantomData<L>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<M> Typed for MessageId<M>
where M: Message + TypePath, MessageId<M>: Any + Send + Sync,

Source§

impl<M> Typed for Messages<M>
where M: Message + TypePath, Messages<M>: Any + Send + Sync, MessageSequence<M>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T, H> Typed for Hashed<T, H>
where T: Clone + Send + Sync + TypePath, H: Send + Sync + TypePath, Hashed<T, H>: Any + Send + Sync,

Source§

impl<T> Typed for Arc<T>
where T: Send + Sync + TypePath + ?Sized, Arc<T>: Any + Send + Sync,

Source§

impl<T> Typed for ArcMutexValue<T>
where T: Asset + TypePath, ArcMutexValue<T>: Any + Send + Sync,

Source§

impl<T> Typed for Axis<T>
where Axis<T>: Any + Send + Sync, T: TypePath, HashMap<T, f32>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for ButtonInput<T>
where T: Clone + Eq + Hash + Send + Sync + 'static + TypePath, ButtonInput<T>: Any + Send + Sync, HashSet<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for ColorCurve<T>
where ColorCurve<T>: Any + Send + Sync, T: TypePath, EvenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for HandleTemplate<T>
where T: Asset + TypePath, HandleTemplate<T>: Any + Send + Sync, Handle<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection, ArcMutexValue<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for Interned<T>
where T: Internable + 'static + TypePath + ?Sized, Interned<T>: Any + Send + Sync, &'static T: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for MaybeLocation<T>
where MaybeLocation<T>: Any + Send + Sync, T: TypePath + ?Sized,

Source§

impl<T> Typed for Time<T>
where T: Default + TypePath + FromReflect + MaybeTyped + RegisterForReflection, Time<T>: Any + Send + Sync,

Source§

impl<T> Typed for Vec<T>
where T: FromReflect + MaybeTyped + TypePath + GetTypeRegistration,

Source§

impl<T> Typed for WithDerivative<T>
where WithDerivative<T>: Any + Send + Sync, T: HasTangent + TypePath + FromReflect + MaybeTyped + RegisterForReflection, <T as HasTangent>::Tangent: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Typed for WithTwoDerivatives<T>
where WithTwoDerivatives<T>: Any + Send + Sync, T: HasTangent + TypePath + FromReflect + MaybeTyped + RegisterForReflection, <T as HasTangent>::Tangent: FromReflect + TypePath + MaybeTyped + RegisterForReflection, <<T as HasTangent>::Tangent as HasTangent>::Tangent: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<V, S> Typed for bevy::platform::collections::HashSet<V, S>

Source§

impl<V, W> Typed for Sum<V, W>
where Sum<V, W>: Any + Send + Sync, V: TypePath + FromReflect + MaybeTyped + RegisterForReflection, W: TypePath + FromReflect + MaybeTyped + RegisterForReflection,