Trait bevy::reflect::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.

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.

Object Safety§

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 Path

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for bool
where bool: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for char
where char: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for f32
where f32: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for f64
where f64: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for i8
where i8: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for i16
where i16: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for i32
where i32: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for i64
where i64: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for i128
where i128: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for isize
where isize: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for u8
where u8: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for u16
where u16: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for u32
where u32: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for u64
where u64: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for u128
where u128: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for ()

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for usize
where usize: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for SmolStr
where SmolStr: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroI8
where NonZeroI8: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroI16
where NonZeroI16: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroI32
where NonZeroI32: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroI64
where NonZeroI64: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroI128
where NonZeroI128: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroIsize

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroU8
where NonZeroU8: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroU16
where NonZeroU16: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroU32
where NonZeroU32: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroU64
where NonZeroU64: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroU128
where NonZeroU128: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for NonZeroUsize

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for RangeFull
where RangeFull: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for OsString
where OsString: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

impl Typed for PathBuf
where PathBuf: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

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

source§

fn type_info() -> &'static TypeInfo

source§

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

source§

fn type_info() -> &'static TypeInfo

source§

impl<A, B, C> Typed for (A, B, C)

source§

fn type_info() -> &'static TypeInfo

source§

impl<A, B, C, D> Typed for (A, B, C, D)

source§

fn type_info() -> &'static TypeInfo

source§

impl<A, B, C, D, E> Typed for (A, B, C, D, E)

source§

fn type_info() -> &'static TypeInfo

source§

impl<A, B, C, D, E, F> Typed for (A, B, C, D, E, F)

source§

fn type_info() -> &'static TypeInfo

source§

impl<A, B, C, D, E, F, G> Typed for (A, B, C, D, E, F, G)

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)

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)

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)

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)

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)

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 Option<T>
where T: FromReflect + TypePath,

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 T: Clone + Reflect + TypePath, E: Clone + Reflect + TypePath, Result<T, E>: Any + Send + Sync,

source§

fn type_info() -> &'static TypeInfo

source§

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

source§

fn type_info() -> &'static TypeInfo

Implementors§

source§

impl Typed for Interpolation

source§

impl Typed for Keyframes

source§

impl Typed for RepeatAnimation

source§

impl Typed for PlaybackMode

source§

impl Typed for BloomCompositeMode

source§

impl Typed for Camera3dDepthLoadOp

source§

impl Typed for ScreenSpaceTransmissionQuality

source§

impl Typed for Sensitivity
where Sensitivity: Any + Send + Sync,

source§

impl Typed for DebandDither

source§

impl Typed for Tonemapping
where Tonemapping: Any + Send + Sync,

source§

impl Typed for ButtonState
where ButtonState: Any + Send + Sync,

source§

impl Typed for GamepadAxisType

source§

impl Typed for GamepadButtonType

source§

impl Typed for GamepadConnection

source§

impl Typed for GamepadEvent

source§

impl Typed for Key

source§

impl Typed for KeyCode

source§

impl Typed for NativeKey

source§

impl Typed for NativeKeyCode

source§

impl Typed for MouseButton

source§

impl Typed for MouseScrollUnit

source§

impl Typed for ForceTouch

source§

impl Typed for TouchPhase
where TouchPhase: Any + Send + Sync,

source§

impl Typed for EulerRot
where EulerRot: Any + Send + Sync,

source§

impl Typed for AlphaMode

source§

impl Typed for ClusterConfig

source§

impl Typed for ClusterFarZMode

source§

impl Typed for FogFalloff

source§

impl Typed for OpaqueRendererMethod

source§

impl Typed for ParallaxMappingMethod

source§

impl Typed for ScreenSpaceAmbientOcclusionQualityLevel

source§

impl Typed for ShadowFilteringMethod

source§

impl Typed for ClearColorConfig

source§

impl Typed for NormalizedRenderTarget

source§

impl Typed for Projection

source§

impl Typed for RenderTarget

source§

impl Typed for ScalingMode

source§

impl Typed for Color

source§

impl Typed for Indices

source§

impl Typed for Msaa
where Msaa: Any + Send + Sync,

source§

impl Typed for Visibility
where Visibility: Any + Send + Sync,

source§

impl Typed for Anchor

source§

impl Typed for ImageScaleMode

source§

impl Typed for SliceScaleMode

source§

impl Typed for BreakLineOn
where BreakLineOn: Any + Send + Sync,

source§

impl Typed for JustifyText
where JustifyText: Any + Send + Sync,

source§

impl Typed for TimerMode
where TimerMode: Any + Send + Sync,

source§

impl Typed for AlignContent

source§

impl Typed for AlignItems
where AlignItems: Any + Send + Sync,

source§

impl Typed for AlignSelf
where AlignSelf: Any + Send + Sync,

source§

impl Typed for Direction
where Direction: Any + Send + Sync,

source§

impl Typed for Display
where Display: Any + Send + Sync,

source§

impl Typed for FlexDirection

source§

impl Typed for FlexWrap
where FlexWrap: Any + Send + Sync,

source§

impl Typed for FocusPolicy
where FocusPolicy: Any + Send + Sync,

source§

impl Typed for GridAutoFlow

source§

impl Typed for GridTrackRepetition

source§

impl Typed for Interaction
where Interaction: Any + Send + Sync,

source§

impl Typed for JustifyContent

source§

impl Typed for JustifyItems

source§

impl Typed for JustifySelf
where JustifySelf: Any + Send + Sync,

source§

impl Typed for MaxTrackSizingFunction

source§

impl Typed for MinTrackSizingFunction

source§

impl Typed for OverflowAxis

source§

impl Typed for PositionType

source§

impl Typed for Val

source§

impl Typed for ZIndex

source§

impl Typed for Cow<'static, str>

source§

impl Typed for Cow<'static, Path>

source§

impl Typed for ApplicationLifetime

source§

impl Typed for CompositeAlphaMode

source§

impl Typed for CursorGrabMode

source§

impl Typed for CursorIcon
where CursorIcon: Any + Send + Sync,

source§

impl Typed for FileDragAndDrop

source§

impl Typed for Ime

source§

impl Typed for MonitorSelection

source§

impl Typed for PresentMode
where PresentMode: Any + Send + Sync,

source§

impl Typed for WindowLevel
where WindowLevel: Any + Send + Sync,

source§

impl Typed for WindowMode
where WindowMode: Any + Send + Sync,

source§

impl Typed for WindowPosition

source§

impl Typed for WindowRef

source§

impl Typed for WindowTheme
where WindowTheme: Any + Send + Sync,

source§

impl Typed for AnimationClip

source§

impl Typed for AnimationPlayer

source§

impl Typed for EntityPath

source§

impl Typed for VariableCurve

source§

impl Typed for AssetIndex

source§

impl Typed for AssetPath<'static>

source§

impl Typed for DefaultSpatialScale

source§

impl Typed for GlobalVolume

source§

impl Typed for PlaybackSettings

source§

impl Typed for SpatialListener

source§

impl Typed for SpatialScale

source§

impl Typed for Volume

source§

impl Typed for Name

source§

impl Typed for BloomPrefilterSettings

source§

impl Typed for BloomSettings

source§

impl Typed for ContrastAdaptiveSharpeningSettings

source§

impl Typed for DenoiseCAS

source§

impl Typed for Camera2d
where Camera2d: Any + Send + Sync,

source§

impl Typed for Camera3d

source§

impl Typed for Camera3dDepthTextureUsage

source§

impl Typed for TemporalAntiAliasSettings

source§

impl Typed for Fxaa

source§

impl Typed for DeferredPrepass

source§

impl Typed for DepthPrepass

source§

impl Typed for MotionVectorPrepass

source§

impl Typed for NormalPrepass

source§

impl Typed for ComponentId

source§

impl Typed for ComponentTicks

source§

impl Typed for Tick

source§

impl Typed for Entity
where Entity: Any + Send + Sync,

source§

impl Typed for EntityHash
where EntityHash: Any + Send + Sync,

source§

impl Typed for AabbGizmoConfigGroup

source§

impl Typed for ShowAabbGizmo

source§

impl Typed for DefaultGizmoConfigGroup

source§

impl Typed for GizmoConfig

source§

impl Typed for GltfExtras

source§

impl Typed for Children

source§

impl Typed for Parent

source§

impl Typed for AxisSettings

source§

impl Typed for ButtonAxisSettings

source§

impl Typed for ButtonSettings

source§

impl Typed for Gamepad

source§

impl Typed for GamepadAxis

source§

impl Typed for GamepadAxisChangedEvent

source§

impl Typed for GamepadButton

source§

impl Typed for GamepadButtonChangedEvent

source§

impl Typed for GamepadButtonInput

source§

impl Typed for GamepadConnectionEvent

source§

impl Typed for GamepadInfo

source§

impl Typed for GamepadSettings

source§

impl Typed for KeyboardInput

source§

impl Typed for MouseButtonInput

source§

impl Typed for MouseMotion

source§

impl Typed for MouseWheel

source§

impl Typed for TouchInput

source§

impl Typed for TouchpadMagnify

source§

impl Typed for TouchpadRotate

source§

impl Typed for BVec2

source§

impl Typed for BVec3

source§

impl Typed for BVec4

source§

impl Typed for Mat2

source§

impl Typed for Mat3

source§

impl Typed for Mat4

source§

impl Typed for Quat

source§

impl Typed for Vec2

source§

impl Typed for Vec3

source§

impl Typed for Vec4

source§

impl Typed for IVec2

source§

impl Typed for IVec3

source§

impl Typed for IVec4

source§

impl Typed for Capsule2d

source§

impl Typed for Capsule3d

source§

impl Typed for Circle

source§

impl Typed for Cone

source§

impl Typed for ConicalFrustum

source§

impl Typed for Cuboid

source§

impl Typed for Cylinder

source§

impl Typed for Direction2d
where Direction2d: Any + Send + Sync,

source§

impl Typed for Direction3d
where Direction3d: Any + Send + Sync,

source§

impl Typed for Ellipse

source§

impl Typed for Line2d

source§

impl Typed for Line3d

source§

impl Typed for Plane2d

source§

impl Typed for Plane3d

source§

impl Typed for Rectangle

source§

impl Typed for RegularPolygon

source§

impl Typed for Segment2d

source§

impl Typed for Segment3d

source§

impl Typed for Sphere

source§

impl Typed for Torus

source§

impl Typed for Triangle2d

source§

impl Typed for Affine2

source§

impl Typed for Affine3A

source§

impl Typed for BVec3A
where BVec3A: Any + Send + Sync,

source§

impl Typed for BVec4A
where BVec4A: Any + Send + Sync,

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 I64Vec2

source§

impl Typed for I64Vec3

source§

impl Typed for I64Vec4

source§

impl Typed for IRect

source§

impl Typed for Mat3A

source§

impl Typed for Rect

source§

impl Typed for U64Vec2

source§

impl Typed for U64Vec3

source§

impl Typed for U64Vec4

source§

impl Typed for URect

source§

impl Typed for Vec3A

source§

impl Typed for UVec2

source§

impl Typed for UVec3

source§

impl Typed for UVec4

source§

impl Typed for EnvironmentMapLight

source§

impl Typed for IrradianceVolume

source§

impl Typed for AmbientLight

source§

impl Typed for Cascade

source§

impl Typed for CascadeShadowConfig

source§

impl Typed for Cascades

source§

impl Typed for CascadesVisibleEntities

source§

impl Typed for ClusterZConfig

source§

impl Typed for CubemapVisibleEntities

source§

impl Typed for DefaultOpaqueRendererMethod

source§

impl Typed for DirectionalLight

source§

impl Typed for DirectionalLightShadowMap

source§

impl Typed for FogSettings

source§

impl Typed for LightProbe
where LightProbe: Any + Send + Sync,

source§

impl Typed for Lightmap

source§

impl Typed for NotShadowCaster

source§

impl Typed for NotShadowReceiver

source§

impl Typed for PointLight

source§

impl Typed for PointLightShadowMap

source§

impl Typed for ScreenSpaceAmbientOcclusionSettings

source§

impl Typed for SpotLight

source§

impl Typed for StandardMaterial

source§

impl Typed for TransmittedShadowReceiver

source§

impl Typed for NoWireframe
where NoWireframe: Any + Send + Sync,

source§

impl Typed for Wireframe
where Wireframe: Any + Send + Sync,

source§

impl Typed for WireframeColor

source§

impl Typed for WireframeConfig

source§

impl Typed for Camera

source§

impl Typed for CameraMainTextureUsages

source§

impl Typed for CameraRenderGraph

source§

impl Typed for ClearColor

source§

impl Typed for Exposure
where Exposure: Any + Send + Sync,

source§

impl Typed for ManualTextureViewHandle

source§

impl Typed for OrthographicProjection

source§

impl Typed for PerspectiveProjection

source§

impl Typed for Viewport

source§

impl Typed for GlobalsUniform

source§

impl Typed for MeshMorphWeights

source§

impl Typed for MorphWeights

source§

impl Typed for SkinnedMesh

source§

impl Typed for Mesh

source§

impl Typed for Aabb

source§

impl Typed for CascadesFrusta

source§

impl Typed for CubemapFrusta

source§

impl Typed for Frustum
where Frustum: Any + Send + Sync,

source§

impl Typed for RenderAssetUsages

source§

impl Typed for Image
where Image: Any + Send + Sync,

source§

impl Typed for ColorGrading

source§

impl Typed for InheritedVisibility

source§

impl Typed for NoFrustumCulling

source§

impl Typed for RenderLayers

source§

impl Typed for ViewVisibility

source§

impl Typed for VisibleEntities

source§

impl Typed for BorderRect

source§

impl Typed for ColorMaterial

source§

impl Typed for Mesh2dHandle

source§

impl Typed for Sprite

source§

impl Typed for TextureAtlas

source§

impl Typed for TextureAtlasLayout

source§

impl Typed for TextureSlicer

source§

impl Typed for GlyphAtlasInfo

source§

impl Typed for PositionedGlyph

source§

impl Typed for Text2dBounds

source§

impl Typed for Text

source§

impl Typed for TextLayoutInfo

source§

impl Typed for TextSection

source§

impl Typed for TextStyle

source§

impl Typed for Fixed

source§

impl Typed for Real

source§

impl Typed for Stopwatch

source§

impl Typed for Timer

source§

impl Typed for Virtual

source§

impl Typed for GlobalTransform

source§

impl Typed for Transform

source§

impl Typed for BackgroundColor

source§

impl Typed for BorderColor

source§

impl Typed for CalculatedClip

source§

impl Typed for ContentSize
where ContentSize: Any + Send + Sync,

source§

impl Typed for GridPlacement

source§

impl Typed for GridTrack

source§

impl Typed for Node

source§

impl Typed for Outline

source§

impl Typed for Overflow

source§

impl Typed for RelativeCursorPosition

source§

impl Typed for RepeatedGridTrack

source§

impl Typed for Style

source§

impl Typed for TargetCamera

source§

impl Typed for UiImage

source§

impl Typed for UiRect

source§

impl Typed for UiScale

source§

impl Typed for Button
where Button: Any + Send + Sync,

source§

impl Typed for Label
where Label: Any + Send + Sync,

source§

impl Typed for TextFlags

source§

impl Typed for UiImageSize

source§

impl Typed for String
where String: Any + Send + Sync,

source§

impl Typed for Duration
where Duration: Any + Send + Sync,

source§

impl Typed for Instant
where Instant: Any + Send + Sync,

source§

impl Typed for Uuid
where Uuid: Any + Send + Sync,

source§

impl Typed for Cursor

source§

impl Typed for CursorEntered

source§

impl Typed for CursorLeft

source§

impl Typed for CursorMoved

source§

impl Typed for EnabledButtons

source§

impl Typed for InternalWindowState

source§

impl Typed for NormalizedWindowRef

source§

impl Typed for PrimaryWindow

source§

impl Typed for ReceivedCharacter

source§

impl Typed for RequestRedraw

source§

impl Typed for Window

source§

impl Typed for WindowBackendScaleFactorChanged

source§

impl Typed for WindowCloseRequested

source§

impl Typed for WindowClosed

source§

impl Typed for WindowCreated

source§

impl Typed for WindowDestroyed

source§

impl Typed for WindowFocused

source§

impl Typed for WindowMoved

source§

impl Typed for WindowOccluded

source§

impl Typed for WindowResizeConstraints

source§

impl Typed for WindowResized

source§

impl Typed for WindowResolution

source§

impl Typed for WindowScaleFactorChanged

source§

impl Typed for WindowThemeChanged

source§

impl Typed for dyn Reflect

source§

impl<A> Typed for AssetId<A>

source§

impl<A> Typed for Handle<A>

source§

impl<B, E> Typed for ExtendedMaterial<B, E>

source§

impl<K, V, S> Typed for bevy::utils::hashbrown::HashMap<K, V, S>

source§

impl<S> Typed for NextState<S>

source§

impl<S> Typed for State<S>
where S: States + TypePath + FromReflect, State<S>: Any + Send + Sync,

source§

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

source§

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

source§

impl<T> Typed for Time<T>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<const N: usize> Typed for Polygon<N>
where Polygon<N>: Any + Send + Sync, [Vec2; N]: FromReflect + TypePath,

source§

impl<const N: usize> Typed for Polyline2d<N>

source§

impl<const N: usize> Typed for Polyline3d<N>