Trait bevy::reflect::FromReflect

pub trait FromReflect: Reflect + Sized {
    // Required method
    fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Self>;

    // Provided method
    fn take_from_reflect(
        reflect: Box<dyn Reflect>
    ) -> Result<Self, Box<dyn Reflect>> { ... }
}
Expand description

A trait that enables types to be dynamically constructed from reflected data.

It’s recommended to use the derive macro rather than manually implementing this trait.

FromReflect allows dynamic proxy types, like DynamicStruct, to be used to generate their concrete counterparts. It can also be used to partially or fully clone a type (depending on whether it has ignored fields or not).

In some cases, this trait may even be required. Deriving Reflect on an enum requires all its fields to implement FromReflect. Additionally, some complex types like Vec<T> require that their element types implement this trait. The reason for such requirements is that some operations require new data to be constructed, such as swapping to a new variant or pushing data to a homogeneous list.

See the crate-level documentation to see how this trait can be used.

Required Methods§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Self>

Constructs a concrete instance of Self from a reflected value.

Provided Methods§

fn take_from_reflect( reflect: Box<dyn Reflect> ) -> Result<Self, Box<dyn Reflect>>

Attempts to downcast the given value to Self using, constructing the value using from_reflect if that fails.

This method is more efficient than using from_reflect for cases where the given value is likely a boxed instance of Self (i.e. Box<Self>) rather than a boxed dynamic type (e.g. DynamicStruct, DynamicList, etc.).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl FromReflect for &'static str

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<&'static str>

§

impl FromReflect for &'static Path

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<&'static Path>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<bool>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<char>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<f32>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<f64>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<i8>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<i16>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<i32>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<i64>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<i128>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<isize>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u8>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u16>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u32>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u64>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<u128>

§

impl FromReflect for ()

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<()>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<usize>

§

impl FromReflect for NonZero<i8>
where NonZero<i8>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<i8>>

§

impl FromReflect for NonZero<i16>
where NonZero<i16>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<i16>>

§

impl FromReflect for NonZero<i32>
where NonZero<i32>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<i32>>

§

impl FromReflect for NonZero<i64>
where NonZero<i64>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<i64>>

§

impl FromReflect for NonZero<i128>
where NonZero<i128>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<i128>>

§

impl FromReflect for NonZero<isize>
where NonZero<isize>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<isize>>

§

impl FromReflect for NonZero<u8>
where NonZero<u8>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<u8>>

§

impl FromReflect for NonZero<u16>
where NonZero<u16>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<u16>>

§

impl FromReflect for NonZero<u32>
where NonZero<u32>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<u32>>

§

impl FromReflect for NonZero<u64>
where NonZero<u64>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<u64>>

§

impl FromReflect for NonZero<u128>
where NonZero<u128>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<u128>>

§

impl FromReflect for NonZero<usize>
where NonZero<usize>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<NonZero<usize>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<RangeFull>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<OsString>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<PathBuf>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<SmolStr>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A,)>

§

impl<A, B> FromReflect for (A, B)

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A, B)>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A, B, C)>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A, B, C, D)>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A, B, C, D, E)>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<(A, B, C, D, E, F)>

§

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

§

fn from_reflect( reflect: &(dyn Reflect + 'static) ) -> Option<(A, B, C, D, E, F, G)>

§

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

§

fn from_reflect( reflect: &(dyn Reflect + 'static) ) -> Option<(A, B, C, D, E, F, G, H)>

§

impl<A, B, C, D, E, F, G, H, I> FromReflect for (A, B, C, D, E, F, G, H, I)

§

fn from_reflect( reflect: &(dyn Reflect + 'static) ) -> Option<(A, B, C, D, E, F, G, H, I)>

§

impl<A, B, C, D, E, F, G, H, I, J> FromReflect for (A, B, C, D, E, F, G, H, I, J)

§

fn from_reflect( reflect: &(dyn Reflect + 'static) ) -> Option<(A, B, C, D, E, F, G, H, I, J)>

§

impl<A, B, C, D, E, F, G, H, I, J, K> FromReflect for (A, B, C, D, E, F, G, H, I, J, K)

§

impl<A, B, C, D, E, F, G, H, I, J, K, L> FromReflect for (A, B, C, D, E, F, G, H, I, J, K, L)

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<HashMap<K, V, S>>

§

impl<T> FromReflect for Option<T>
where T: FromReflect + TypePath,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Option<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Saturating<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Wrapping<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Range<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<RangeFrom<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<RangeInclusive<T>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<RangeTo<T>>

§

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

§

fn from_reflect( reflect: &(dyn Reflect + 'static) ) -> Option<RangeToInclusive<T>>

§

impl<T, E> FromReflect for Result<T, E>
where T: Clone + Reflect + TypePath, E: Clone + Reflect + TypePath, Result<T, E>: Any + Send + Sync,

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Result<T, E>>

§

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

§

fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<[T; N]>

Implementors§

§

impl FromReflect for Interpolation

§

impl FromReflect for Keyframes

§

impl FromReflect for RepeatAnimation

§

impl FromReflect for PlaybackMode

§

impl FromReflect for BloomCompositeMode

§

impl FromReflect for Camera3dDepthLoadOp

§

impl FromReflect for ScreenSpaceTransmissionQuality

§

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

§

impl FromReflect for DebandDither

§

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

§

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

§

impl FromReflect for GamepadAxisType

§

impl FromReflect for GamepadButtonType

§

impl FromReflect for GamepadConnection

§

impl FromReflect for GamepadEvent

§

impl FromReflect for Key

§

impl FromReflect for KeyCode

§

impl FromReflect for NativeKey

§

impl FromReflect for NativeKeyCode

§

impl FromReflect for MouseButton

§

impl FromReflect for MouseScrollUnit

§

impl FromReflect for ForceTouch

§

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

§

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

§

impl FromReflect for AlphaMode

§

impl FromReflect for ClusterConfig

§

impl FromReflect for ClusterFarZMode

§

impl FromReflect for FogFalloff

§

impl FromReflect for OpaqueRendererMethod

§

impl FromReflect for ParallaxMappingMethod

§

impl FromReflect for ScreenSpaceAmbientOcclusionQualityLevel

§

impl FromReflect for ShadowFilteringMethod

§

impl FromReflect for ClearColorConfig

§

impl FromReflect for NormalizedRenderTarget

§

impl FromReflect for Projection

§

impl FromReflect for RenderTarget

§

impl FromReflect for ScalingMode

§

impl FromReflect for Color

§

impl FromReflect for Indices

§

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

§

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

§

impl FromReflect for Anchor

§

impl FromReflect for ImageScaleMode

§

impl FromReflect for SliceScaleMode

§

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

§

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

§

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

§

impl FromReflect for AlignContent

§

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

§

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

§

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

§

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

§

impl FromReflect for FlexDirection

§

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

§

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

§

impl FromReflect for GridAutoFlow

§

impl FromReflect for GridTrackRepetition

§

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

§

impl FromReflect for JustifyContent

§

impl FromReflect for JustifyItems

§

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

§

impl FromReflect for MaxTrackSizingFunction

§

impl FromReflect for MinTrackSizingFunction

§

impl FromReflect for OverflowAxis

§

impl FromReflect for PositionType

§

impl FromReflect for Val

§

impl FromReflect for ZIndex

§

impl FromReflect for Cow<'static, str>

§

impl FromReflect for Cow<'static, Path>

§

impl FromReflect for ApplicationLifetime

§

impl FromReflect for CompositeAlphaMode

§

impl FromReflect for CursorGrabMode

§

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

§

impl FromReflect for FileDragAndDrop

§

impl FromReflect for Ime

§

impl FromReflect for MonitorSelection

§

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

§

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

§

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

§

impl FromReflect for WindowPosition

§

impl FromReflect for WindowRef

§

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

§

impl FromReflect for AnimationClip

§

impl FromReflect for AnimationPlayer

§

impl FromReflect for EntityPath

§

impl FromReflect for VariableCurve

§

impl FromReflect for AssetIndex

§

impl FromReflect for AssetPath<'static>

§

impl FromReflect for DefaultSpatialScale

§

impl FromReflect for GlobalVolume

§

impl FromReflect for PlaybackSettings

§

impl FromReflect for SpatialListener

§

impl FromReflect for SpatialScale

§

impl FromReflect for Volume

§

impl FromReflect for Name

§

impl FromReflect for BloomPrefilterSettings

§

impl FromReflect for BloomSettings

§

impl FromReflect for ContrastAdaptiveSharpeningSettings

§

impl FromReflect for DenoiseCAS

§

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

§

impl FromReflect for Camera3d

§

impl FromReflect for Camera3dDepthTextureUsage

§

impl FromReflect for TemporalAntiAliasSettings

§

impl FromReflect for Fxaa

§

impl FromReflect for DeferredPrepass

§

impl FromReflect for DepthPrepass

§

impl FromReflect for MotionVectorPrepass

§

impl FromReflect for NormalPrepass

§

impl FromReflect for ComponentId

§

impl FromReflect for ComponentTicks

§

impl FromReflect for Tick

§

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

§

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

§

impl FromReflect for AabbGizmoConfigGroup

§

impl FromReflect for ShowAabbGizmo

§

impl FromReflect for DefaultGizmoConfigGroup

§

impl FromReflect for GizmoConfig

§

impl FromReflect for GltfExtras

§

impl FromReflect for Children

§

impl FromReflect for Parent

§

impl FromReflect for AxisSettings

§

impl FromReflect for ButtonAxisSettings

§

impl FromReflect for ButtonSettings

§

impl FromReflect for Gamepad

§

impl FromReflect for GamepadAxis

§

impl FromReflect for GamepadAxisChangedEvent

§

impl FromReflect for GamepadButton

§

impl FromReflect for GamepadButtonChangedEvent

§

impl FromReflect for GamepadButtonInput

§

impl FromReflect for GamepadConnectionEvent

§

impl FromReflect for GamepadInfo

§

impl FromReflect for GamepadSettings

§

impl FromReflect for KeyboardInput

§

impl FromReflect for MouseButtonInput

§

impl FromReflect for MouseMotion

§

impl FromReflect for MouseWheel

§

impl FromReflect for TouchInput

§

impl FromReflect for TouchpadMagnify

§

impl FromReflect for TouchpadRotate

§

impl FromReflect for BVec2

§

impl FromReflect for BVec3

§

impl FromReflect for BVec4

§

impl FromReflect for Mat2

§

impl FromReflect for Mat3

§

impl FromReflect for Mat4

§

impl FromReflect for Quat

§

impl FromReflect for Vec2

§

impl FromReflect for Vec3

§

impl FromReflect for Vec4

§

impl FromReflect for IVec2

§

impl FromReflect for IVec3

§

impl FromReflect for IVec4

§

impl FromReflect for Capsule2d

§

impl FromReflect for Capsule3d

§

impl FromReflect for Circle

§

impl FromReflect for Cone

§

impl FromReflect for ConicalFrustum

§

impl FromReflect for Cuboid

§

impl FromReflect for Cylinder

§

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

§

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

§

impl FromReflect for Ellipse

§

impl FromReflect for Line2d

§

impl FromReflect for Line3d

§

impl FromReflect for Plane2d

§

impl FromReflect for Plane3d

§

impl FromReflect for Rectangle

§

impl FromReflect for RegularPolygon

§

impl FromReflect for Segment2d

§

impl FromReflect for Segment3d

§

impl FromReflect for Sphere

§

impl FromReflect for Torus

§

impl FromReflect for Triangle2d

§

impl FromReflect for Affine2

§

impl FromReflect for Affine3A

§

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

§

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

§

impl FromReflect for DAffine2

§

impl FromReflect for DAffine3

§

impl FromReflect for DMat2

§

impl FromReflect for DMat3

§

impl FromReflect for DMat4

§

impl FromReflect for DQuat

§

impl FromReflect for DVec2

§

impl FromReflect for DVec3

§

impl FromReflect for DVec4

§

impl FromReflect for I64Vec2

§

impl FromReflect for I64Vec3

§

impl FromReflect for I64Vec4

§

impl FromReflect for IRect

§

impl FromReflect for Mat3A

§

impl FromReflect for Rect

§

impl FromReflect for U64Vec2

§

impl FromReflect for U64Vec3

§

impl FromReflect for U64Vec4

§

impl FromReflect for URect

§

impl FromReflect for Vec3A

§

impl FromReflect for UVec2

§

impl FromReflect for UVec3

§

impl FromReflect for UVec4

§

impl FromReflect for EnvironmentMapLight

§

impl FromReflect for IrradianceVolume

§

impl FromReflect for AmbientLight

§

impl FromReflect for Cascade

§

impl FromReflect for CascadeShadowConfig

§

impl FromReflect for Cascades

§

impl FromReflect for CascadesVisibleEntities

§

impl FromReflect for ClusterZConfig

§

impl FromReflect for CubemapVisibleEntities

§

impl FromReflect for DefaultOpaqueRendererMethod

§

impl FromReflect for DirectionalLight

§

impl FromReflect for DirectionalLightShadowMap

§

impl FromReflect for FogSettings

§

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

§

impl FromReflect for Lightmap

§

impl FromReflect for NotShadowCaster

§

impl FromReflect for NotShadowReceiver

§

impl FromReflect for PointLight

§

impl FromReflect for PointLightShadowMap

§

impl FromReflect for ScreenSpaceAmbientOcclusionSettings

§

impl FromReflect for SpotLight

§

impl FromReflect for StandardMaterial

§

impl FromReflect for TransmittedShadowReceiver

§

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

§

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

§

impl FromReflect for WireframeColor

§

impl FromReflect for WireframeConfig

§

impl FromReflect for Camera

§

impl FromReflect for CameraMainTextureUsages

§

impl FromReflect for CameraRenderGraph

§

impl FromReflect for ClearColor

§

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

§

impl FromReflect for ManualTextureViewHandle

§

impl FromReflect for OrthographicProjection

§

impl FromReflect for PerspectiveProjection

§

impl FromReflect for Viewport

§

impl FromReflect for GlobalsUniform

§

impl FromReflect for MeshMorphWeights

§

impl FromReflect for MorphWeights

§

impl FromReflect for SkinnedMesh

§

impl FromReflect for Mesh

§

impl FromReflect for Aabb

§

impl FromReflect for CascadesFrusta

§

impl FromReflect for CubemapFrusta

§

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

§

impl FromReflect for RenderAssetUsages

§

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

§

impl FromReflect for ColorGrading

§

impl FromReflect for InheritedVisibility

§

impl FromReflect for NoFrustumCulling

§

impl FromReflect for RenderLayers

§

impl FromReflect for ViewVisibility

§

impl FromReflect for VisibleEntities

§

impl FromReflect for BorderRect

§

impl FromReflect for ColorMaterial

§

impl FromReflect for Mesh2dHandle

§

impl FromReflect for Sprite

§

impl FromReflect for TextureAtlas

§

impl FromReflect for TextureAtlasLayout

§

impl FromReflect for TextureSlicer

§

impl FromReflect for GlyphAtlasInfo

§

impl FromReflect for PositionedGlyph

§

impl FromReflect for Text2dBounds

§

impl FromReflect for Text

§

impl FromReflect for TextLayoutInfo

§

impl FromReflect for TextSection

§

impl FromReflect for TextStyle

§

impl FromReflect for Fixed

§

impl FromReflect for Real

§

impl FromReflect for Stopwatch

§

impl FromReflect for Timer

§

impl FromReflect for Virtual

§

impl FromReflect for GlobalTransform

§

impl FromReflect for Transform

§

impl FromReflect for BackgroundColor

§

impl FromReflect for BorderColor

§

impl FromReflect for CalculatedClip

§

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

§

impl FromReflect for GridPlacement

§

impl FromReflect for GridTrack

§

impl FromReflect for Node

§

impl FromReflect for Outline

§

impl FromReflect for Overflow

§

impl FromReflect for RelativeCursorPosition

§

impl FromReflect for RepeatedGridTrack

§

impl FromReflect for Style

§

impl FromReflect for TargetCamera

§

impl FromReflect for UiImage

§

impl FromReflect for UiRect

§

impl FromReflect for UiScale

§

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

§

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

§

impl FromReflect for TextFlags

§

impl FromReflect for UiImageSize

§

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

§

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

§

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

§

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

§

impl FromReflect for Cursor

§

impl FromReflect for CursorEntered

§

impl FromReflect for CursorLeft

§

impl FromReflect for CursorMoved

§

impl FromReflect for EnabledButtons

§

impl FromReflect for InternalWindowState

§

impl FromReflect for NormalizedWindowRef

§

impl FromReflect for PrimaryWindow

§

impl FromReflect for ReceivedCharacter

§

impl FromReflect for RequestRedraw

§

impl FromReflect for Window

§

impl FromReflect for WindowBackendScaleFactorChanged

§

impl FromReflect for WindowCloseRequested

§

impl FromReflect for WindowClosed

§

impl FromReflect for WindowCreated

§

impl FromReflect for WindowDestroyed

§

impl FromReflect for WindowFocused

§

impl FromReflect for WindowMoved

§

impl FromReflect for WindowOccluded

§

impl FromReflect for WindowResizeConstraints

§

impl FromReflect for WindowResized

§

impl FromReflect for WindowResolution

§

impl FromReflect for WindowScaleFactorChanged

§

impl FromReflect for WindowThemeChanged

§

impl<A> FromReflect for AssetId<A>

§

impl<A> FromReflect for Handle<A>

§

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

§

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

§

impl<S> FromReflect for NextState<S>

§

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

§

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

§

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

§

impl<T> FromReflect for Time<T>

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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