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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Typed for &'static str

Source§

fn type_info() -> &'static TypeInfo

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 Cow<'static, str>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Cow<'static, Path>

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for SocketAddr

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 ()

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for usize

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for TypeId

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 RangeFull

Source§

fn type_info() -> &'static TypeInfo

Source§

impl Typed for Duration

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<A> Typed for (A,)
where A: 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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<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<K, V, S> Typed for HashMap<K, V, S>

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 Bound<T>
where T: Clone + Send + Sync + TypePath, Bound<T>: Any + Send + Sync,

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 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 BinaryHeap<T>
where T: Clone + TypePath, BinaryHeap<T>: Any + Send + Sync,

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 VecDeque<T>
where T: FromReflect + MaybeTyped + TypePath + GetTypeRegistration,

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 Wrapping<T>
where T: Clone + Send + Sync + TypePath, Wrapping<T>: Any + Send + Sync,

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, 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, const N: usize> Typed for [T; N]
where T: Reflect + MaybeTyped + TypePath + GetTypeRegistration,

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 ButtonState

Source§

impl Typed for GamepadConnection

Source§

impl Typed for GamepadEvent

Source§

impl Typed for GamepadInput

Source§

impl Typed for GamepadRumbleRequest

Source§

impl Typed for RawGamepadEvent

Source§

impl Typed for Key

Source§

impl Typed for NativeKey

Source§

impl Typed for NativeKeyCode

Source§

impl Typed for MouseScrollUnit

Source§

impl Typed for ForceTouch

Source§

impl Typed for TouchPhase

Source§

impl Typed for CompassOctant

Source§

impl Typed for CompassQuadrant

Source§

impl Typed for EulerRot

Source§

impl Typed for GamepadAxis

Source§

impl Typed for GamepadButton

Source§

impl Typed for KeyCode

Source§

impl Typed for MouseButton

Source§

impl Typed for TimerMode

Source§

impl Typed for ComponentId

Source§

impl Typed for ComponentTicks

Source§

impl Typed for Tick

Source§

impl Typed for EntityGeneration

Source§

impl Typed for EntityHash

Source§

impl Typed for EntityHashSet

Source§

impl Typed for EntityRow

Source§

impl Typed for DefaultQueryFilters

Source§

impl Typed for Disabled

Source§

impl Typed for Internal

Source§

impl Typed for RemovedComponentEntity

Source§

impl Typed for ObservedBy

Source§

impl Typed for AxisSettings

Source§

impl Typed for ButtonAxisSettings

Source§

impl Typed for ButtonSettings

Source§

impl Typed for GamepadAxisChangedEvent

Source§

impl Typed for GamepadButtonChangedEvent

Source§

impl Typed for GamepadButtonStateChangedEvent

Source§

impl Typed for GamepadConnectionEvent

Source§

impl Typed for GamepadRumbleIntensity

Source§

impl Typed for RawGamepadAxisChangedEvent

Source§

impl Typed for RawGamepadButtonChangedEvent

Source§

impl Typed for DoubleTapGesture

Source§

impl Typed for PanGesture

Source§

impl Typed for PinchGesture

Source§

impl Typed for RotationGesture

Source§

impl Typed for KeyboardFocusLost

Source§

impl Typed for KeyboardInput

Source§

impl Typed for AccumulatedMouseMotion

Source§

impl Typed for AccumulatedMouseScroll

Source§

impl Typed for MouseButtonInput

Source§

impl Typed for MouseMotion

Source§

impl Typed for MouseWheel

Source§

impl Typed for Aabb2d

Source§

impl Typed for Aabb3d

Source§

impl Typed for AabbCast2d

Source§

impl Typed for AabbCast3d

Source§

impl Typed for BoundingCircle

Source§

impl Typed for BoundingCircleCast

Source§

impl Typed for BoundingSphere

Source§

impl Typed for BoundingSphereCast

Source§

impl Typed for RayCast2d

Source§

impl Typed for RayCast3d

Source§

impl Typed for Affine2

Source§

impl Typed for Affine3

Source§

impl Typed for Affine3A

Source§

impl Typed for AspectRatio

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 Dir4

Source§

impl Typed for FloatOrd

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 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 AtomicBool

Source§

impl Typed for AtomicI8

Source§

impl Typed for AtomicI16

Source§

impl Typed for AtomicI32

Source§

impl Typed for AtomicI64

Source§

impl Typed for AtomicIsize

Source§

impl Typed for AtomicU8

Source§

impl Typed for AtomicU16

Source§

impl Typed for AtomicU32

Source§

impl Typed for AtomicU64

Source§

impl Typed for AtomicUsize

Source§

impl Typed for Instant

Source§

impl Typed for Add

Source§

impl Typed for Annulus

Source§

impl Typed for Arc2d

Source§

impl Typed for BVec2

Source§

impl Typed for BVec3

Source§

impl Typed for BVec3A

Source§

impl Typed for BVec4

Source§

impl Typed for BVec4A

Source§

impl Typed for Capsule2d

Source§

impl Typed for Capsule3d

Source§

impl Typed for ChildOf

Source§

impl Typed for Children

Source§

impl Typed for Circle

Source§

impl Typed for CircularSector

Source§

impl Typed for CircularSegment

Source§

impl Typed for Cone

Source§

impl Typed for ConicalFrustum

Source§

impl Typed for ConvexPolygon

Source§

impl Typed for Cuboid

Source§

impl Typed for Cylinder

Source§

impl Typed for Despawn

Source§

impl Typed for Dir2

Source§

impl Typed for Dir3

Source§

impl Typed for Dir3A

Source§

impl Typed for Ellipse

Source§

impl Typed for Entity

Source§

impl Typed for Fixed

Source§

impl Typed for Gamepad

Source§

impl Typed for GamepadSettings

Source§

impl Typed for GlobalTransform

Source§

impl Typed for IRect

Source§

impl Typed for IVec2

Source§

impl Typed for IVec3

Source§

impl Typed for IVec4

Source§

impl Typed for InfinitePlane3d

Source§

impl Typed for Insert

Source§

impl Typed for Isometry2d

Source§

impl Typed for Isometry3d

Source§

impl Typed for Line2d

Source§

impl Typed for Line3d

Source§

impl Typed for Mat2

Source§

impl Typed for Mat3

Source§

impl Typed for Mat3A

Source§

impl Typed for Mat4

Source§

impl Typed for Name

Source§

impl Typed for Plane2d

Source§

impl Typed for Plane3d

Source§

impl Typed for Polygon

Source§

impl Typed for Polyline2d

Source§

impl Typed for Polyline3d

Source§

impl Typed for Quat

Source§

impl Typed for Ray2d

Source§

impl Typed for Ray3d

Source§

impl Typed for Real

Source§

impl Typed for Rect

Source§

impl Typed for Rectangle

Source§

impl Typed for RegularPolygon

Source§

impl Typed for Remove

Source§

impl Typed for Replace

Source§

impl Typed for Rhombus

Source§

impl Typed for Rot2

Source§

impl Typed for Segment2d

Source§

impl Typed for Segment3d

Source§

impl Typed for Sphere

Source§

impl Typed for String

Source§

impl Typed for Tetrahedron

Source§

impl Typed for Timer

Source§

impl Typed for Torus

Source§

impl Typed for TouchInput

Source§

impl Typed for Transform

Source§

impl Typed for TransformTreeChanged

Source§

impl Typed for Triangle2d

Source§

impl Typed for Triangle3d

Source§

impl Typed for URect

Source§

impl Typed for UVec2

Source§

impl Typed for UVec3

Source§

impl Typed for UVec4

Source§

impl Typed for Vec2

Source§

impl Typed for Vec3

Source§

impl Typed for Vec3A

Source§

impl Typed for Vec4

Source§

impl Typed for Virtual

Source§

impl Typed for Stopwatch

Source§

impl Typed for dyn Reflect

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<E> Typed for Messages<E>
where E: Message + TypePath, Messages<E>: Any + Send + Sync, MessageSequence<E>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

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

Source§

impl<P> Typed for LinearSpline<P>
where P: VectorSpace + TypePath, LinearSpline<P>: Any + Send + Sync, Vec<P>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicBSpline<P>
where P: VectorSpace + TypePath, CubicBSpline<P>: Any + Send + Sync, Vec<P>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicBezier<P>
where P: VectorSpace + TypePath, CubicBezier<P>: Any + Send + Sync, Vec<[P; 4]>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicCardinalSpline<P>
where P: VectorSpace + TypePath, CubicCardinalSpline<P>: Any + Send + Sync, Vec<P>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicCurve<P>
where P: VectorSpace + TypePath, CubicCurve<P>: Any + Send + Sync, Vec<CubicSegment<P>>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicHermite<P>
where P: VectorSpace + TypePath, CubicHermite<P>: Any + Send + Sync, Vec<(P, P)>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicNurbs<P>
where P: VectorSpace + TypePath, CubicNurbs<P>: Any + Send + Sync, Vec<P>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for CubicSegment<P>
where P: VectorSpace + TypePath, CubicSegment<P>: Any + Send + Sync, [P; 4]: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for RationalCurve<P>
where P: VectorSpace + TypePath, RationalCurve<P>: Any + Send + Sync, Vec<RationalSegment<P>>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<P> Typed for RationalSegment<P>
where P: VectorSpace + TypePath, RationalSegment<P>: Any + Send + Sync, [P; 4]: 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 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<T> Typed for Arc<T>
where T: Send + Sync + TypePath + ?Sized, Arc<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 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<V> Typed for EntityHashMap<V>
where EntityHashMap<V>: Any + Send + Sync, V: TypePath, HashMap<Entity, V, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<V> Typed for EntityIndexMap<V>
where EntityIndexMap<V>: Any + Send + Sync, V: TypePath, IndexMap<Entity, V, EntityHash>: 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,