Trait bevy_reflect::Struct

source ·
pub trait Struct: Reflect {
    // Required methods
    fn field(&self, name: &str) -> Option<&dyn Reflect>;
    fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>;
    fn field_at(&self, index: usize) -> Option<&dyn Reflect>;
    fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>;
    fn name_at(&self, index: usize) -> Option<&str>;
    fn field_len(&self) -> usize;
    fn iter_fields(&self) -> FieldIter<'_> ;
    fn clone_dynamic(&self) -> DynamicStruct;
}
Expand description

A trait used to power struct-like operations via reflection.

This trait uses the Reflect trait to allow implementors to have their fields be dynamically addressed by both name and index.

When using #[derive(Reflect)] on a standard struct, this trait will be automatically implemented. This goes for unit structs as well.

§Example

use bevy_reflect::{Reflect, Struct};

#[derive(Reflect)]
struct Foo {
    bar: u32,
}

let foo = Foo { bar: 123 };

assert_eq!(foo.field_len(), 1);
assert_eq!(foo.name_at(0), Some("bar"));

let field: &dyn Reflect = foo.field("bar").unwrap();
assert_eq!(field.downcast_ref::<u32>(), Some(&123));

Required Methods§

source

fn field(&self, name: &str) -> Option<&dyn Reflect>

Returns a reference to the value of the field named name as a &dyn Reflect.

source

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

Returns a mutable reference to the value of the field named name as a &mut dyn Reflect.

source

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

Returns a reference to the value of the field with index index as a &dyn Reflect.

source

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

Returns a mutable reference to the value of the field with index index as a &mut dyn Reflect.

source

fn name_at(&self, index: usize) -> Option<&str>

Returns the name of the field with index index.

source

fn field_len(&self) -> usize

Returns the number of fields in the struct.

source

fn iter_fields(&self) -> FieldIter<'_>

Returns an iterator over the values of the reflectable fields for this struct.

source

fn clone_dynamic(&self) -> DynamicStruct

Clones the struct into a DynamicStruct.

Trait Implementations§

source§

impl GetField for dyn Struct

source§

fn get_field<T: Reflect>(&self, name: &str) -> Option<&T>

Returns a reference to the value of the field named name, downcast to T.
source§

fn get_field_mut<T: Reflect>(&mut self, name: &str) -> Option<&mut T>

Returns a mutable reference to the value of the field named name, downcast to T.

Implementations on Foreign Types§

source§

impl Struct for BVec2
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for BVec3
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for BVec4
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Affine2
where Self: Any + Send + Sync, Mat2: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Affine3A
where Self: Any + Send + Sync, Mat3A: FromReflect + TypePath + RegisterForReflection, Vec3A: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Mat3
where Self: Any + Send + Sync, Vec3: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Mat2
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Mat3A
where Self: Any + Send + Sync, Vec3A: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Mat4
where Self: Any + Send + Sync, Vec4: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Quat
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Vec3A
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Vec4
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Vec2
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for Vec3
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DAffine2
where Self: Any + Send + Sync, DMat2: FromReflect + TypePath + RegisterForReflection, DVec2: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DAffine3
where Self: Any + Send + Sync, DMat3: FromReflect + TypePath + RegisterForReflection, DVec3: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DMat2
where Self: Any + Send + Sync, DVec2: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DMat3
where Self: Any + Send + Sync, DVec3: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DMat4
where Self: Any + Send + Sync, DVec4: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DQuat
where Self: Any + Send + Sync, f64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DVec2
where Self: Any + Send + Sync, f64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DVec3
where Self: Any + Send + Sync, f64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for DVec4
where Self: Any + Send + Sync, f64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for IVec2
where Self: Any + Send + Sync, i32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for IVec3
where Self: Any + Send + Sync, i32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for IVec4
where Self: Any + Send + Sync, i32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for I64Vec2
where Self: Any + Send + Sync, i64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for I64Vec3
where Self: Any + Send + Sync, i64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for I64Vec4
where Self: Any + Send + Sync, i64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for UVec2
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for UVec3
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for UVec4
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for U64Vec2
where Self: Any + Send + Sync, u64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for U64Vec3
where Self: Any + Send + Sync, u64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

source§

impl Struct for U64Vec4
where Self: Any + Send + Sync, u64: FromReflect + TypePath + RegisterForReflection,

source§

fn field(&self, name: &str) -> Option<&dyn Reflect>

source§

fn field_mut(&mut self, name: &str) -> Option<&mut dyn Reflect>

source§

fn field_at(&self, index: usize) -> Option<&dyn Reflect>

source§

fn field_at_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>

source§

fn name_at(&self, index: usize) -> Option<&str>

source§

fn field_len(&self) -> usize

source§

fn iter_fields(&self) -> FieldIter<'_>

source§

fn clone_dynamic(&self) -> DynamicStruct

Implementors§

source§

impl Struct for DynamicStruct

impl Struct for ActiveAnimation
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, RepeatAnimation: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for AnimationClip
where Self: Any + Send + Sync, AnimationCurves: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for AnimationPlayer
where Self: Any + Send + Sync, BTreeMap<AnimationNodeIndex, ActiveAnimation>: FromReflect + TypePath + RegisterForReflection, HashMap<AnimationNodeIndex, f32>: FromReflect + TypePath + RegisterForReflection,

impl Struct for AnimationTarget
where Self: Any + Send + Sync, AnimationTargetId: FromReflect + TypePath + RegisterForReflection, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for VariableCurve
where Self: Any + Send + Sync, Vec<f32>: FromReflect + TypePath + RegisterForReflection, Keyframes: FromReflect + TypePath + RegisterForReflection, Interpolation: FromReflect + TypePath + RegisterForReflection,

impl Struct for AssetIndex
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for GlobalVolume
where Self: Any + Send + Sync, Volume: FromReflect + TypePath + RegisterForReflection,

impl Struct for PlaybackSettings
where Self: Any + Send + Sync, PlaybackMode: FromReflect + TypePath + RegisterForReflection, Volume: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, Option<SpatialScale>: FromReflect + TypePath + RegisterForReflection,

impl Struct for SpatialListener
where Self: Any + Send + Sync, Vec3: FromReflect + TypePath + RegisterForReflection,

impl Struct for Hsla
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Hsva
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Hwba
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Laba
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Lcha
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for LinearRgba
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Oklaba
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Oklcha
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Srgba
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Xyza
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Name
where Self: Any + Send + Sync, u64: FromReflect + TypePath + RegisterForReflection, Cow<'static, str>: FromReflect + TypePath + RegisterForReflection,

impl Struct for AutoExposureCompensationCurve
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, [u8; 256]: FromReflect + TypePath + RegisterForReflection,

impl Struct for AutoExposureSettings
where Self: Any + Send + Sync, RangeInclusive<f32>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, Handle<Image>: FromReflect + TypePath + RegisterForReflection, Handle<AutoExposureCompensationCurve>: FromReflect + TypePath + RegisterForReflection,

impl Struct for BloomPrefilterSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for BloomSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, BloomPrefilterSettings: FromReflect + TypePath + RegisterForReflection, BloomCompositeMode: FromReflect + TypePath + RegisterForReflection,

impl Struct for ContrastAdaptiveSharpeningSettings
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Camera2d
where Self: Any + Send + Sync,

impl Struct for Camera3d
where Self: Any + Send + Sync, Camera3dDepthLoadOp: FromReflect + TypePath + RegisterForReflection, Camera3dDepthTextureUsage: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection, ScreenSpaceTransmissionQuality: FromReflect + TypePath + RegisterForReflection,

impl Struct for TemporalAntiAliasSettings
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for Fxaa
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, Sensitivity: FromReflect + TypePath + RegisterForReflection,

impl Struct for MotionBlur
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for DeferredPrepass
where Self: Any + Send + Sync,

impl Struct for DepthPrepass
where Self: Any + Send + Sync,

impl Struct for MotionVectorPrepass
where Self: Any + Send + Sync,

impl Struct for NormalPrepass
where Self: Any + Send + Sync,

impl Struct for SmaaSettings
where Self: Any + Send + Sync, SmaaPreset: FromReflect + TypePath + RegisterForReflection,

impl Struct for ComponentTicks
where Self: Any + Send + Sync, Tick: FromReflect + TypePath + RegisterForReflection,

impl Struct for Tick
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for EntityHash
where Self: Any + Send + Sync,

impl<E> Struct for EventId<E>
where Self: Any + Send + Sync, E: TypePath + Event, usize: FromReflect + TypePath + RegisterForReflection,

impl<E> Struct for Events<E>
where Self: Any + Send + Sync, E: TypePath + Event, EventSequence<E>: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for EguiSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, Option<String>: FromReflect + TypePath + RegisterForReflection,

impl Struct for AabbGizmoConfigGroup
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, Option<Color>: FromReflect + TypePath + RegisterForReflection,

impl Struct for ShowAabbGizmo
where Self: Any + Send + Sync, Option<Color>: FromReflect + TypePath + RegisterForReflection,

impl Struct for DefaultGizmoConfigGroup
where Self: Any + Send + Sync,

impl Struct for GizmoConfig
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, GizmoLineStyle: FromReflect + TypePath + RegisterForReflection, RenderLayers: FromReflect + TypePath + RegisterForReflection, GizmoLineJoint: FromReflect + TypePath + RegisterForReflection,

impl Struct for GizmoConfigStore
where Self: Any + Send + Sync,

impl Struct for LightGizmoConfigGroup
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, LightGizmoColor: FromReflect + TypePath + RegisterForReflection, Color: FromReflect + TypePath + RegisterForReflection,

impl Struct for ShowLightGizmo
where Self: Any + Send + Sync, Option<LightGizmoColor>: FromReflect + TypePath + RegisterForReflection,

impl Struct for GltfExtras
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection,

impl Struct for GltfMaterialExtras
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection,

impl Struct for GltfMeshExtras
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection,

impl Struct for GltfSceneExtras
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection,

impl Struct for AxisSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for ButtonAxisSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for ButtonSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Gamepad
where Self: Any + Send + Sync, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadAxis
where Self: Any + Send + Sync, Gamepad: FromReflect + TypePath + RegisterForReflection, GamepadAxisType: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadAxisChangedEvent
where Self: Any + Send + Sync, Gamepad: FromReflect + TypePath + RegisterForReflection, GamepadAxisType: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadButton
where Self: Any + Send + Sync, Gamepad: FromReflect + TypePath + RegisterForReflection, GamepadButtonType: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadButtonChangedEvent
where Self: Any + Send + Sync, Gamepad: FromReflect + TypePath + RegisterForReflection, GamepadButtonType: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadButtonInput
where Self: Any + Send + Sync, GamepadButton: FromReflect + TypePath + RegisterForReflection, ButtonState: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadConnectionEvent
where Self: Any + Send + Sync, Gamepad: FromReflect + TypePath + RegisterForReflection, GamepadConnection: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadInfo
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection,

impl Struct for GamepadSettings
where Self: Any + Send + Sync, ButtonSettings: FromReflect + TypePath + RegisterForReflection, AxisSettings: FromReflect + TypePath + RegisterForReflection, ButtonAxisSettings: FromReflect + TypePath + RegisterForReflection, HashMap<GamepadButton, ButtonSettings>: FromReflect + TypePath + RegisterForReflection, HashMap<GamepadAxis, AxisSettings>: FromReflect + TypePath + RegisterForReflection, HashMap<GamepadButton, ButtonAxisSettings>: FromReflect + TypePath + RegisterForReflection,

impl Struct for DoubleTapGesture
where Self: Any + Send + Sync,

impl Struct for KeyboardFocusLost
where Self: Any + Send + Sync,

impl Struct for KeyboardInput
where Self: Any + Send + Sync, KeyCode: FromReflect + TypePath + RegisterForReflection, Key: FromReflect + TypePath + RegisterForReflection, ButtonState: FromReflect + TypePath + RegisterForReflection, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for MouseButtonInput
where Self: Any + Send + Sync, MouseButton: FromReflect + TypePath + RegisterForReflection, ButtonState: FromReflect + TypePath + RegisterForReflection, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for MouseMotion
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for MouseWheel
where Self: Any + Send + Sync, MouseScrollUnit: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for TouchInput
where Self: Any + Send + Sync, TouchPhase: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection, Entity: FromReflect + TypePath + RegisterForReflection, Option<ForceTouch>: FromReflect + TypePath + RegisterForReflection, u64: FromReflect + TypePath + RegisterForReflection,

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

impl Struct for Aabb2d
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Aabb3d
where Self: Any + Send + Sync, Vec3A: FromReflect + TypePath + RegisterForReflection,

impl Struct for AabbCast2d
where Self: Any + Send + Sync, RayCast2d: FromReflect + TypePath + RegisterForReflection, Aabb2d: FromReflect + TypePath + RegisterForReflection,

impl Struct for AabbCast3d
where Self: Any + Send + Sync, RayCast3d: FromReflect + TypePath + RegisterForReflection, Aabb3d: FromReflect + TypePath + RegisterForReflection,

impl Struct for BoundingCircle
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection, Circle: FromReflect + TypePath + RegisterForReflection,

impl Struct for BoundingCircleCast
where Self: Any + Send + Sync, RayCast2d: FromReflect + TypePath + RegisterForReflection, BoundingCircle: FromReflect + TypePath + RegisterForReflection,

impl Struct for BoundingSphere
where Self: Any + Send + Sync, Vec3A: FromReflect + TypePath + RegisterForReflection, Sphere: FromReflect + TypePath + RegisterForReflection,

impl Struct for BoundingSphereCast
where Self: Any + Send + Sync, RayCast3d: FromReflect + TypePath + RegisterForReflection, BoundingSphere: FromReflect + TypePath + RegisterForReflection,

impl Struct for RayCast2d
where Self: Any + Send + Sync, Ray2d: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for RayCast3d
where Self: Any + Send + Sync, Vec3A: FromReflect + TypePath + RegisterForReflection, Dir3A: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Annulus
where Self: Any + Send + Sync, Circle: FromReflect + TypePath + RegisterForReflection,

impl Struct for Arc2d
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Capsule2d
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Capsule3d
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Circle
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for CircularSector
where Self: Any + Send + Sync, Arc2d: FromReflect + TypePath + RegisterForReflection,

impl Struct for CircularSegment
where Self: Any + Send + Sync, Arc2d: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cone
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for ConicalFrustum
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cuboid
where Self: Any + Send + Sync, Vec3: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cylinder
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Ellipse
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for InfinitePlane3d
where Self: Any + Send + Sync, Dir3: FromReflect + TypePath + RegisterForReflection,

impl Struct for Line2d
where Self: Any + Send + Sync, Dir2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Line3d
where Self: Any + Send + Sync, Dir3: FromReflect + TypePath + RegisterForReflection,

impl Struct for Plane2d
where Self: Any + Send + Sync, Dir2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Plane3d
where Self: Any + Send + Sync, Dir3: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Rectangle
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for RegularPolygon
where Self: Any + Send + Sync, Circle: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for Rhombus
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Segment2d
where Self: Any + Send + Sync, Dir2: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Segment3d
where Self: Any + Send + Sync, Dir3: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Sphere
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Tetrahedron
where Self: Any + Send + Sync, [Vec3; 4]: FromReflect + TypePath + RegisterForReflection,

impl Struct for Torus
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Triangle2d
where Self: Any + Send + Sync, [Vec2; 3]: FromReflect + TypePath + RegisterForReflection,

impl Struct for Triangle3d
where Self: Any + Send + Sync, [Vec3; 3]: FromReflect + TypePath + RegisterForReflection,

impl Struct for Affine3
where Self: Any + Send + Sync, Mat3: FromReflect + TypePath + RegisterForReflection, Vec3: FromReflect + TypePath + RegisterForReflection,

impl Struct for IRect
where Self: Any + Send + Sync, IVec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Ray2d
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection, Dir2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Ray3d
where Self: Any + Send + Sync, Vec3: FromReflect + TypePath + RegisterForReflection, Dir3: FromReflect + TypePath + RegisterForReflection,

impl Struct for Rect
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Rot2
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for URect
where Self: Any + Send + Sync, UVec2: FromReflect + TypePath + RegisterForReflection,

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

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

impl<P> Struct for CubicCardinalSpline<P>
where Self: Any + Send + Sync, P: TypePath + VectorSpace, f32: FromReflect + TypePath + RegisterForReflection, Vec<P>: FromReflect + TypePath + RegisterForReflection,

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

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

impl<P> Struct for CubicNurbs<P>
where Self: Any + Send + Sync, P: TypePath + VectorSpace, Vec<P>: FromReflect + TypePath + RegisterForReflection, Vec<f32>: FromReflect + TypePath + RegisterForReflection,

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

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

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

impl<P> Struct for RationalSegment<P>
where Self: Any + Send + Sync, P: TypePath + VectorSpace, [P; 4]: FromReflect + TypePath + RegisterForReflection, [f32; 4]: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

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

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

impl<const N: usize> Struct for Polyline3d<N>
where Self: Any + Send + Sync, [Vec3; N]: FromReflect + TypePath + RegisterForReflection,

impl Struct for EnvironmentMapLight
where Self: Any + Send + Sync, Handle<Image>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for IrradianceVolume
where Self: Any + Send + Sync, Handle<Image>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for AmbientLight
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cascade
where Self: Any + Send + Sync, Mat4: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for CascadeShadowConfig
where Self: Any + Send + Sync, Vec<f32>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cascades
where Self: Any + Send + Sync, EntityHashMap<Vec<Cascade>>: FromReflect + TypePath + RegisterForReflection,

impl Struct for CascadesVisibleEntities
where Self: Any + Send + Sync,

impl Struct for ClusterZConfig
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, ClusterFarZMode: FromReflect + TypePath + RegisterForReflection,

impl Struct for CubemapVisibleEntities
where Self: Any + Send + Sync,

impl Struct for DirectionalLight
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for DirectionalLightShadowMap
where Self: Any + Send + Sync, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for FogSettings
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, FogFalloff: FromReflect + TypePath + RegisterForReflection,

impl Struct for LightProbe
where Self: Any + Send + Sync,

impl Struct for Lightmap
where Self: Any + Send + Sync, Handle<Image>: FromReflect + TypePath + RegisterForReflection, Rect: FromReflect + TypePath + RegisterForReflection,

impl Struct for NotShadowCaster
where Self: Any + Send + Sync,

impl Struct for NotShadowReceiver
where Self: Any + Send + Sync,

impl Struct for PointLight
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for PointLightShadowMap
where Self: Any + Send + Sync, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for ScreenSpaceReflectionsSettings
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for SpotLight
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for StandardMaterial
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, UvChannel: FromReflect + TypePath + RegisterForReflection, Option<Handle<Image>>: FromReflect + TypePath + RegisterForReflection, LinearRgba: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, AlphaMode: FromReflect + TypePath + RegisterForReflection, ParallaxMappingMethod: FromReflect + TypePath + RegisterForReflection, OpaqueRendererMethod: FromReflect + TypePath + RegisterForReflection, u8: FromReflect + TypePath + RegisterForReflection, Affine2: FromReflect + TypePath + RegisterForReflection,

impl Struct for TransmittedShadowReceiver
where Self: Any + Send + Sync,

impl Struct for VolumetricFogSettings
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for VolumetricLight
where Self: Any + Send + Sync,

impl Struct for NoWireframe
where Self: Any + Send + Sync,

impl Struct for Wireframe
where Self: Any + Send + Sync,

impl Struct for WireframeColor
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection,

impl Struct for WireframeConfig
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, Color: FromReflect + TypePath + RegisterForReflection,

impl<B, E> Struct for ExtendedMaterial<B, E>
where Self: Any + Send + Sync, B: FromReflect + TypePath + RegisterForReflection + Material, E: FromReflect + TypePath + RegisterForReflection + MaterialExtension,

impl Struct for Camera
where Self: Any + Send + Sync, Option<Viewport>: FromReflect + TypePath + RegisterForReflection, isize: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, ClearColorConfig: FromReflect + TypePath + RegisterForReflection,

impl Struct for OrthographicProjection
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection, ScalingMode: FromReflect + TypePath + RegisterForReflection, Rect: FromReflect + TypePath + RegisterForReflection,

impl Struct for PerspectiveProjection
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for TemporalJitter
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Viewport
where Self: Any + Send + Sync, UVec2: FromReflect + TypePath + RegisterForReflection, Range<f32>: FromReflect + TypePath + RegisterForReflection,

impl Struct for GlobalsUniform
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for MeshMorphWeights
where Self: Any + Send + Sync, Vec<f32>: FromReflect + TypePath + RegisterForReflection,

impl Struct for MorphWeights
where Self: Any + Send + Sync, Vec<f32>: FromReflect + TypePath + RegisterForReflection, Option<Handle<Mesh>>: FromReflect + TypePath + RegisterForReflection,

impl Struct for SkinnedMesh
where Self: Any + Send + Sync, Handle<SkinnedMeshInverseBindposes>: FromReflect + TypePath + RegisterForReflection, Vec<Entity>: FromReflect + TypePath + RegisterForReflection,

impl Struct for Mesh
where Self: Any + Send + Sync, Option<Indices>: FromReflect + TypePath + RegisterForReflection, Option<Handle<Image>>: FromReflect + TypePath + RegisterForReflection, Option<Vec<String>>: FromReflect + TypePath + RegisterForReflection, RenderAssetUsages: FromReflect + TypePath + RegisterForReflection,

impl Struct for Aabb
where Self: Any + Send + Sync, Vec3A: FromReflect + TypePath + RegisterForReflection,

impl Struct for CascadesFrusta
where Self: Any + Send + Sync,

impl Struct for CubemapFrusta
where Self: Any + Send + Sync,

impl Struct for Frustum
where Self: Any + Send + Sync,

impl Struct for ColorGrading
where Self: Any + Send + Sync, ColorGradingGlobal: FromReflect + TypePath + RegisterForReflection, ColorGradingSection: FromReflect + TypePath + RegisterForReflection,

impl Struct for ColorGradingGlobal
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection, Range<f32>: FromReflect + TypePath + RegisterForReflection,

impl Struct for ColorGradingSection
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for NoFrustumCulling
where Self: Any + Send + Sync,

impl Struct for VisibilityRange
where Self: Any + Send + Sync, Range<f32>: FromReflect + TypePath + RegisterForReflection,

impl Struct for VisibleEntities
where Self: Any + Send + Sync,

impl Struct for BorderRect
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for ColorMaterial
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, Option<Handle<Image>>: FromReflect + TypePath + RegisterForReflection,

impl Struct for NoWireframe2d
where Self: Any + Send + Sync,

impl Struct for Sprite
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, Option<Vec2>: FromReflect + TypePath + RegisterForReflection, Option<Rect>: FromReflect + TypePath + RegisterForReflection, Anchor: FromReflect + TypePath + RegisterForReflection,

impl Struct for SpriteSource
where Self: Any + Send + Sync,

impl Struct for TextureAtlas
where Self: Any + Send + Sync, Handle<TextureAtlasLayout>: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for TextureAtlasLayout
where Self: Any + Send + Sync, UVec2: FromReflect + TypePath + RegisterForReflection, Vec<URect>: FromReflect + TypePath + RegisterForReflection, Option<HashMap<AssetId<Image>, usize>>: FromReflect + TypePath + RegisterForReflection,

impl Struct for TextureSlicer
where Self: Any + Send + Sync, BorderRect: FromReflect + TypePath + RegisterForReflection, SliceScaleMode: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Wireframe2d
where Self: Any + Send + Sync,

impl Struct for Wireframe2dColor
where Self: Any + Send + Sync, Srgba: FromReflect + TypePath + RegisterForReflection,

impl Struct for Wireframe2dConfig
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection, Srgba: FromReflect + TypePath + RegisterForReflection,

impl Struct for GlyphAtlasInfo
where Self: Any + Send + Sync, Handle<TextureAtlasLayout>: FromReflect + TypePath + RegisterForReflection, Handle<Image>: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for PositionedGlyph
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection, GlyphAtlasInfo: FromReflect + TypePath + RegisterForReflection, usize: FromReflect + TypePath + RegisterForReflection,

impl Struct for Text
where Self: Any + Send + Sync, Vec<TextSection>: FromReflect + TypePath + RegisterForReflection, JustifyText: FromReflect + TypePath + RegisterForReflection, BreakLineOn: FromReflect + TypePath + RegisterForReflection,

impl Struct for Text2dBounds
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for TextLayoutInfo
where Self: Any + Send + Sync, Vec<PositionedGlyph>: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for TextSection
where Self: Any + Send + Sync, String: FromReflect + TypePath + RegisterForReflection, TextStyle: FromReflect + TypePath + RegisterForReflection,

impl Struct for TextStyle
where Self: Any + Send + Sync, Handle<Font>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, Color: FromReflect + TypePath + RegisterForReflection,

impl Struct for Fixed
where Self: Any + Send + Sync, Duration: FromReflect + TypePath + RegisterForReflection,

impl Struct for Real
where Self: Any + Send + Sync, Instant: FromReflect + TypePath + RegisterForReflection, Option<Instant>: FromReflect + TypePath + RegisterForReflection,

impl Struct for Stopwatch
where Self: Any + Send + Sync, Duration: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for Timer
where Self: Any + Send + Sync, Stopwatch: FromReflect + TypePath + RegisterForReflection, Duration: FromReflect + TypePath + RegisterForReflection, TimerMode: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, u32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Virtual
where Self: Any + Send + Sync, Duration: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, f64: FromReflect + TypePath + RegisterForReflection,

impl<T> Struct for Time<T>
where Self: Any + Send + Sync, T: TypePath + FromReflect + RegisterForReflection + Default, Duration: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, f64: FromReflect + TypePath + RegisterForReflection,

impl Struct for Transform
where Self: Any + Send + Sync, Vec3: FromReflect + TypePath + RegisterForReflection, Quat: FromReflect + TypePath + RegisterForReflection,

impl Struct for ContentSize
where Self: Any + Send + Sync,

impl Struct for BorderRadius
where Self: Any + Send + Sync, Val: FromReflect + TypePath + RegisterForReflection,

impl Struct for CalculatedClip
where Self: Any + Send + Sync, Rect: FromReflect + TypePath + RegisterForReflection,

impl Struct for GridPlacement
where Self: Any + Send + Sync, Option<NonZeroI16>: FromReflect + TypePath + RegisterForReflection, Option<NonZeroU16>: FromReflect + TypePath + RegisterForReflection,

impl Struct for GridTrack
where Self: Any + Send + Sync, MinTrackSizingFunction: FromReflect + TypePath + RegisterForReflection, MaxTrackSizingFunction: FromReflect + TypePath + RegisterForReflection,

impl Struct for Node
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for Outline
where Self: Any + Send + Sync, Val: FromReflect + TypePath + RegisterForReflection, Color: FromReflect + TypePath + RegisterForReflection,

impl Struct for Overflow
where Self: Any + Send + Sync, OverflowAxis: FromReflect + TypePath + RegisterForReflection,

impl Struct for RelativeCursorPosition
where Self: Any + Send + Sync, Rect: FromReflect + TypePath + RegisterForReflection, Option<Vec2>: FromReflect + TypePath + RegisterForReflection,

impl Struct for RepeatedGridTrack
where Self: Any + Send + Sync, GridTrackRepetition: FromReflect + TypePath + RegisterForReflection, SmallVec<[GridTrack; 1]>: FromReflect + TypePath + RegisterForReflection,

impl Struct for Style
where Self: Any + Send + Sync, Display: FromReflect + TypePath + RegisterForReflection, PositionType: FromReflect + TypePath + RegisterForReflection, Overflow: FromReflect + TypePath + RegisterForReflection, Direction: FromReflect + TypePath + RegisterForReflection, Val: FromReflect + TypePath + RegisterForReflection, Option<f32>: FromReflect + TypePath + RegisterForReflection, AlignItems: FromReflect + TypePath + RegisterForReflection, JustifyItems: FromReflect + TypePath + RegisterForReflection, AlignSelf: FromReflect + TypePath + RegisterForReflection, JustifySelf: FromReflect + TypePath + RegisterForReflection, AlignContent: FromReflect + TypePath + RegisterForReflection, JustifyContent: FromReflect + TypePath + RegisterForReflection, UiRect: FromReflect + TypePath + RegisterForReflection, FlexDirection: FromReflect + TypePath + RegisterForReflection, FlexWrap: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection, GridAutoFlow: FromReflect + TypePath + RegisterForReflection, Vec<RepeatedGridTrack>: FromReflect + TypePath + RegisterForReflection, Vec<GridTrack>: FromReflect + TypePath + RegisterForReflection, GridPlacement: FromReflect + TypePath + RegisterForReflection,

impl Struct for UiImage
where Self: Any + Send + Sync, Color: FromReflect + TypePath + RegisterForReflection, Handle<Image>: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for UiRect
where Self: Any + Send + Sync, Val: FromReflect + TypePath + RegisterForReflection,

impl Struct for Button
where Self: Any + Send + Sync,

impl Struct for Label
where Self: Any + Send + Sync,

impl Struct for TextFlags
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for UiImageSize
where Self: Any + Send + Sync, UVec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for Cursor
where Self: Any + Send + Sync, CursorIcon: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, CursorGrabMode: FromReflect + TypePath + RegisterForReflection,

impl Struct for CursorEntered
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for CursorLeft
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for CursorMoved
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection, Option<Vec2>: FromReflect + TypePath + RegisterForReflection,

impl Struct for EnabledButtons
where Self: Any + Send + Sync, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for InternalWindowState
where Self: Any + Send + Sync, Option<bool>: FromReflect + TypePath + RegisterForReflection, Option<DVec2>: FromReflect + TypePath + RegisterForReflection,

impl Struct for PrimaryWindow
where Self: Any + Send + Sync,

impl Struct for ReceivedCharacter
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, SmolStr: FromReflect + TypePath + RegisterForReflection,

impl Struct for RequestRedraw
where Self: Any + Send + Sync,

impl Struct for Window
where Self: Any + Send + Sync, Cursor: FromReflect + TypePath + RegisterForReflection, PresentMode: FromReflect + TypePath + RegisterForReflection, WindowMode: FromReflect + TypePath + RegisterForReflection, WindowPosition: FromReflect + TypePath + RegisterForReflection, WindowResolution: FromReflect + TypePath + RegisterForReflection, String: FromReflect + TypePath + RegisterForReflection, Option<String>: FromReflect + TypePath + RegisterForReflection, CompositeAlphaMode: FromReflect + TypePath + RegisterForReflection, WindowResizeConstraints: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection, EnabledButtons: FromReflect + TypePath + RegisterForReflection, WindowLevel: FromReflect + TypePath + RegisterForReflection, InternalWindowState: FromReflect + TypePath + RegisterForReflection, Vec2: FromReflect + TypePath + RegisterForReflection, Option<WindowTheme>: FromReflect + TypePath + RegisterForReflection, Option<NonZeroU32>: FromReflect + TypePath + RegisterForReflection, Option<(u8, u8)>: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowBackendScaleFactorChanged
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, f64: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowCloseRequested
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowClosed
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowClosing
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowCreated
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowDestroyed
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowFocused
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowMoved
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, IVec2: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowOccluded
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, bool: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowResizeConstraints
where Self: Any + Send + Sync, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowResized
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowResolution
where Self: Any + Send + Sync, u32: FromReflect + TypePath + RegisterForReflection, Option<f32>: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowScaleFactorChanged
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, f64: FromReflect + TypePath + RegisterForReflection,

impl Struct for WindowThemeChanged
where Self: Any + Send + Sync, Entity: FromReflect + TypePath + RegisterForReflection, WindowTheme: FromReflect + TypePath + RegisterForReflection,

impl Struct for BoundingBoxGizmos
where Self: Any + Send + Sync,

impl Struct for Transform2D
where Self: Any + Send + Sync, Vec2: FromReflect + TypePath + RegisterForReflection, f32: FromReflect + TypePath + RegisterForReflection,