Reflect

Trait Reflect 

Source
pub trait Reflect:
    PartialReflect
    + DynamicTyped
    + Any {
    // Required methods
    fn into_any(self: Box<Self>) -> Box<dyn Any>;
    fn as_any(&self) -> &(dyn Any + 'static);
    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static);
    fn into_reflect(self: Box<Self>) -> Box<dyn Reflect>;
    fn as_reflect(&self) -> &(dyn Reflect + 'static);
    fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static);
    fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>;
}
Expand description

A core trait of bevy_reflect, used for downcasting to concrete types.

This is a subtrait of PartialReflect, meaning any type which implements Reflect implements PartialReflect by definition.

It’s recommended to use the derive macro rather than manually implementing this trait. Doing so will automatically implement this trait, PartialReflect, and many other useful traits for reflection, including one of the appropriate subtraits: Struct, TupleStruct or Enum.

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

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

Required Methods§

Source

fn into_any(self: Box<Self>) -> Box<dyn Any>

Returns the value as a Box<dyn Any>.

For remote wrapper types, this will return the remote type instead.

Source

fn as_any(&self) -> &(dyn Any + 'static)

Returns the value as a &dyn Any.

For remote wrapper types, this will return the remote type instead.

Source

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Returns the value as a &mut dyn Any.

For remote wrapper types, this will return the remote type instead.

Source

fn into_reflect(self: Box<Self>) -> Box<dyn Reflect>

Casts this type to a boxed, fully-reflected value.

Source

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Casts this type to a fully-reflected value.

Source

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Casts this type to a mutable, fully-reflected value.

Source

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Performs a type-checked assignment of a reflected value to this value.

If value does not contain a value of type T, returns an Err containing the trait object.

Implementations§

Source§

impl dyn Reflect

Source

pub fn downcast<T>(self: Box<dyn Reflect>) -> Result<Box<T>, Box<dyn Reflect>>
where T: Any,

Downcasts the value to type T, consuming the trait object.

If the underlying value is not of type T, returns Err(self).

For remote types, T should be the type itself rather than the wrapper type.

Source

pub fn take<T>(self: Box<dyn Reflect>) -> Result<T, Box<dyn Reflect>>
where T: Any,

Downcasts the value to type T, unboxing and consuming the trait object.

If the underlying value is not of type T, returns Err(self).

For remote types, T should be the type itself rather than the wrapper type.

Examples found in repository?
examples/reflection/reflection_types.rs (line 140)
67fn setup() {
68    let mut z = <HashMap<_, _>>::default();
69    z.insert("Hello".to_string(), 1.0);
70    let value: Box<dyn Reflect> = Box::new(A {
71        x: 1,
72        y: vec![1, 2],
73        z,
74    });
75
76    // There are a number of different "reflect traits", which each expose different operations on
77    // the underlying type
78    match value.reflect_ref() {
79        // `Struct` is a trait automatically implemented for structs that derive Reflect. This trait
80        // allows you to interact with fields via their string names or indices
81        ReflectRef::Struct(value) => {
82            info!(
83                "This is a 'struct' type with an 'x' value of {}",
84                value.get_field::<usize>("x").unwrap()
85            );
86        }
87        // `TupleStruct` is a trait automatically implemented for tuple structs that derive Reflect.
88        // This trait allows you to interact with fields via their indices
89        ReflectRef::TupleStruct(_) => {}
90        // `Tuple` is a special trait that can be manually implemented (instead of deriving
91        // Reflect). This exposes "tuple" operations on your type, allowing you to interact
92        // with fields via their indices. Tuple is automatically implemented for tuples of
93        // arity 12 or less.
94        ReflectRef::Tuple(_) => {}
95        // `Enum` is a trait automatically implemented for enums that derive Reflect. This trait allows you
96        // to interact with the current variant and its fields (if it has any)
97        ReflectRef::Enum(_) => {}
98        // `List` is a special trait that can be manually implemented (instead of deriving Reflect).
99        // This exposes "list" operations on your type, such as insertion. `List` is automatically
100        // implemented for relevant core types like Vec<T>.
101        ReflectRef::List(_) => {}
102        // `Array` is a special trait that can be manually implemented (instead of deriving Reflect).
103        // This exposes "array" operations on your type, such as indexing. `Array`
104        // is automatically implemented for relevant core types like [T; N].
105        ReflectRef::Array(_) => {}
106        // `Map` is a special trait that can be manually implemented (instead of deriving Reflect).
107        // This exposes "map" operations on your type, such as getting / inserting by key.
108        // Map is automatically implemented for relevant core types like HashMap<K, V>
109        ReflectRef::Map(_) => {}
110        // `Set` is a special trait that can be manually implemented (instead of deriving Reflect).
111        // This exposes "set" operations on your type, such as getting / inserting by value.
112        // Set is automatically implemented for relevant core types like HashSet<T>
113        ReflectRef::Set(_) => {}
114        // `Function` is a special trait that can be manually implemented (instead of deriving Reflect).
115        // This exposes "function" operations on your type, such as calling it with arguments.
116        // This trait is automatically implemented for types like DynamicFunction.
117        // This variant only exists if the `reflect_functions` feature is enabled.
118        #[cfg(feature = "reflect_functions")]
119        ReflectRef::Function(_) => {}
120        // `Opaque` types do not implement any of the other traits above. They are simply a Reflect
121        // implementation. Opaque is implemented for opaque types like String and Instant,
122        // but also include primitive types like i32, usize, and f32 (despite not technically being opaque).
123        ReflectRef::Opaque(_) => {}
124        #[expect(
125            clippy::allow_attributes,
126            reason = "`unreachable_patterns` is not always linted"
127        )]
128        #[allow(
129            unreachable_patterns,
130            reason = "This example cannot always detect when `bevy_reflect/functions` is enabled."
131        )]
132        _ => {}
133    }
134
135    let mut dynamic_list = DynamicList::default();
136    dynamic_list.push(3u32);
137    dynamic_list.push(4u32);
138    dynamic_list.push(5u32);
139
140    let mut value: A = value.take::<A>().unwrap();
141    value.y.apply(&dynamic_list);
142    assert_eq!(value.y, vec![3u32, 4u32, 5u32]);
143
144    // reference types defined above that are only used to demonstrate reflect
145    // derive functionality:
146    _ = || -> (A, B, C, D, E, F) { unreachable!() };
147}
Source

pub fn is<T>(&self) -> bool
where T: Any,

Returns true if the underlying value is of type T, or false otherwise.

The underlying value is the concrete type that is stored in this dyn object; it can be downcast to. In the case that this underlying value “represents” a different type, like the Dynamic*** types do, you can call represents to determine what type they represent. Represented types cannot be downcast to, but you can use FromReflect to create a value of the represented type from them.

For remote types, T should be the type itself rather than the wrapper type.

Source

pub fn downcast_ref<T>(&self) -> Option<&T>
where T: Any,

Downcasts the value to type T by reference.

If the underlying value is not of type T, returns None.

For remote types, T should be the type itself rather than the wrapper type.

Examples found in repository?
examples/reflection/custom_attributes.rs (line 63)
6fn main() {
7    // Bevy supports statically registering custom attribute data on reflected types,
8    // which can then be accessed at runtime via the type's `TypeInfo`.
9    // Attributes are registered using the `#[reflect(@...)]` syntax,
10    // where the `...` is any expression that resolves to a value which implements `Reflect`.
11    // Note that these attributes are stored based on their type:
12    // if two attributes have the same type, the second one will overwrite the first.
13
14    // Here is an example of registering custom attributes on a type:
15    #[derive(Reflect)]
16    struct Slider {
17        #[reflect(@RangeInclusive::<f32>::new(0.0, 1.0))]
18        // Alternatively, we could have used the `0.0..=1.0` syntax,
19        // but remember to ensure the type is the one you want!
20        #[reflect(@0.0..=1.0_f32)]
21        value: f32,
22    }
23
24    // Now, we can access the custom attributes at runtime:
25    let TypeInfo::Struct(type_info) = Slider::type_info() else {
26        panic!("expected struct");
27    };
28
29    let field = type_info.field("value").unwrap();
30
31    let range = field.get_attribute::<RangeInclusive<f32>>().unwrap();
32    assert_eq!(*range, 0.0..=1.0);
33
34    // And remember that our attributes can be any type that implements `Reflect`:
35    #[derive(Reflect)]
36    struct Required;
37
38    #[derive(Reflect, PartialEq, Debug)]
39    struct Tooltip(String);
40
41    impl Tooltip {
42        fn new(text: &str) -> Self {
43            Self(text.to_string())
44        }
45    }
46
47    #[derive(Reflect)]
48    #[reflect(@Required, @Tooltip::new("An ID is required!"))]
49    struct Id(u8);
50
51    let TypeInfo::TupleStruct(type_info) = Id::type_info() else {
52        panic!("expected struct");
53    };
54
55    // We can check if an attribute simply exists on our type:
56    assert!(type_info.has_attribute::<Required>());
57
58    // We can also get attribute data dynamically:
59    let some_type_id = TypeId::of::<Tooltip>();
60
61    let tooltip: &dyn Reflect = type_info.get_attribute_by_id(some_type_id).unwrap();
62    assert_eq!(
63        tooltip.downcast_ref::<Tooltip>(),
64        Some(&Tooltip::new("An ID is required!"))
65    );
66
67    // And again, attributes of the same type will overwrite each other:
68    #[derive(Reflect)]
69    enum Status {
70        // This will result in `false` being stored:
71        #[reflect(@true)]
72        #[reflect(@false)]
73        Disabled,
74        // This will result in `true` being stored:
75        #[reflect(@false)]
76        #[reflect(@true)]
77        Enabled,
78    }
79
80    let TypeInfo::Enum(type_info) = Status::type_info() else {
81        panic!("expected enum");
82    };
83
84    let disabled = type_info.variant("Disabled").unwrap();
85    assert!(!disabled.get_attribute::<bool>().unwrap());
86
87    let enabled = type_info.variant("Enabled").unwrap();
88    assert!(enabled.get_attribute::<bool>().unwrap());
89}
More examples
Hide additional examples
examples/reflection/reflection.rs (line 74)
54fn setup(type_registry: Res<AppTypeRegistry>) {
55    let mut value = Foo {
56        a: 1,
57        _ignored: NonReflectedValue { _a: 10 },
58        nested: Bar { b: 8 },
59    };
60
61    // You can set field values like this. The type must match exactly or this will fail.
62    *value.get_field_mut("a").unwrap() = 2usize;
63    assert_eq!(value.a, 2);
64    assert_eq!(*value.get_field::<usize>("a").unwrap(), 2);
65
66    // You can also get the `&dyn PartialReflect` value of a field like this
67    let field = value.field("a").unwrap();
68
69    // But values introspected via `PartialReflect` will not return `dyn Reflect` trait objects
70    // (even if the containing type does implement `Reflect`), so we need to convert them:
71    let fully_reflected_field = field.try_as_reflect().unwrap();
72
73    // Now, you can downcast your `Reflect` value like this:
74    assert_eq!(*fully_reflected_field.downcast_ref::<usize>().unwrap(), 2);
75
76    // For this specific case, we also support the shortcut `try_downcast_ref`:
77    assert_eq!(*field.try_downcast_ref::<usize>().unwrap(), 2);
78
79    // `DynamicStruct` also implements the `Struct` and `Reflect` traits.
80    let mut patch = DynamicStruct::default();
81    patch.insert("a", 4usize);
82
83    // You can "apply" Reflect implementations on top of other Reflect implementations.
84    // This will only set fields with the same name, and it will fail if the types don't match.
85    // You can use this to "patch" your types with new values.
86    value.apply(&patch);
87    assert_eq!(value.a, 4);
88
89    let type_registry = type_registry.read();
90    // By default, all derived `Reflect` types can be Serialized using serde. No need to derive
91    // Serialize!
92    let serializer = ReflectSerializer::new(&value, &type_registry);
93    let ron_string =
94        ron::ser::to_string_pretty(&serializer, ron::ser::PrettyConfig::default()).unwrap();
95    info!("{}\n", ron_string);
96
97    // Dynamic properties can be deserialized
98    let reflect_deserializer = ReflectDeserializer::new(&type_registry);
99    let mut deserializer = ron::de::Deserializer::from_str(&ron_string).unwrap();
100    let reflect_value = reflect_deserializer.deserialize(&mut deserializer).unwrap();
101
102    // Deserializing returns a `Box<dyn PartialReflect>` value.
103    // Generally, deserializing a value will return the "dynamic" variant of a type.
104    // For example, deserializing a struct will return the DynamicStruct type.
105    // "Opaque types" will be deserialized as themselves.
106    assert_eq!(
107        reflect_value.reflect_type_path(),
108        DynamicStruct::type_path(),
109    );
110
111    // Reflect has its own `partial_eq` implementation, named `reflect_partial_eq`. This behaves
112    // like normal `partial_eq`, but it treats "dynamic" and "non-dynamic" types the same. The
113    // `Foo` struct and deserialized `DynamicStruct` are considered equal for this reason:
114    assert!(reflect_value.reflect_partial_eq(&value).unwrap());
115
116    // By "patching" `Foo` with the deserialized DynamicStruct, we can "Deserialize" Foo.
117    // This means we can serialize and deserialize with a single `Reflect` derive!
118    value.apply(&*reflect_value);
119}
examples/reflection/dynamic_types.rs (line 43)
12fn main() {
13    #[derive(Reflect, Default, PartialEq, Debug)]
14    #[reflect(Identifiable, Default)]
15    struct Player {
16        id: u32,
17    }
18
19    #[reflect_trait]
20    trait Identifiable {
21        fn id(&self) -> u32;
22    }
23
24    impl Identifiable for Player {
25        fn id(&self) -> u32 {
26            self.id
27        }
28    }
29
30    // Normally, when instantiating a type, you get back exactly that type.
31    // This is because the type is known at compile time.
32    // We call this the "concrete" or "canonical" type.
33    let player: Player = Player { id: 123 };
34
35    // When working with reflected types, however, we often "erase" this type information
36    // using the `Reflect` trait object.
37    // This trait object also gives us access to all the methods in the `PartialReflect` trait too.
38    // The underlying type is still the same (in this case, `Player`),
39    // but now we've hidden that information from the compiler.
40    let reflected: Box<dyn Reflect> = Box::new(player);
41
42    // Because it's the same type under the hood, we can still downcast it back to the original type.
43    assert!(reflected.downcast_ref::<Player>().is_some());
44
45    // We can attempt to clone our value using `PartialReflect::reflect_clone`.
46    // This will recursively call `PartialReflect::reflect_clone` on all fields of the type.
47    // Or, if we had registered `ReflectClone` using `#[reflect(Clone)]`, it would simply call `Clone::clone` directly.
48    let cloned: Box<dyn Reflect> = reflected.reflect_clone().unwrap();
49    assert_eq!(cloned.downcast_ref::<Player>(), Some(&Player { id: 123 }));
50
51    // Another way we can "clone" our data is by converting it to a dynamic type.
52    // Notice here we bind it as a `dyn PartialReflect` instead of `dyn Reflect`.
53    // This is because it returns a dynamic type that simply represents the original type.
54    // In this case, because `Player` is a struct, it will return a `DynamicStruct`.
55    let dynamic: Box<dyn PartialReflect> = reflected.to_dynamic();
56    assert!(dynamic.is_dynamic());
57
58    // And if we try to convert it back to a `dyn Reflect` trait object, we'll get `None`.
59    // Dynamic types cannot be directly cast to `dyn Reflect` trait objects.
60    assert!(dynamic.try_as_reflect().is_none());
61
62    // Generally dynamic types are used to represent (or "proxy") the original type,
63    // so that we can continue to access its fields and overall structure.
64    let dynamic_ref = dynamic.reflect_ref().as_struct().unwrap();
65    let id = dynamic_ref.field("id").unwrap().try_downcast_ref::<u32>();
66    assert_eq!(id, Some(&123));
67
68    // It also enables us to create a representation of a type without having compile-time
69    // access to the actual type. This is how the reflection deserializers work.
70    // They generally can't know how to construct a type ahead of time,
71    // so they instead build and return these dynamic representations.
72    let input = "(id: 123)";
73    let mut registry = TypeRegistry::default();
74    registry.register::<Player>();
75    let registration = registry.get(std::any::TypeId::of::<Player>()).unwrap();
76    let deserialized = TypedReflectDeserializer::new(registration, &registry)
77        .deserialize(&mut ron::Deserializer::from_str(input).unwrap())
78        .unwrap();
79
80    // Our deserialized output is a `DynamicStruct` that proxies/represents a `Player`.
81    assert!(deserialized.represents::<Player>());
82
83    // And while this does allow us to access the fields and structure of the type,
84    // there may be instances where we need the actual type.
85    // For example, if we want to convert our `dyn Reflect` into a `dyn Identifiable`,
86    // we can't use the `DynamicStruct` proxy.
87    let reflect_identifiable = registration
88        .data::<ReflectIdentifiable>()
89        .expect("`ReflectIdentifiable` should be registered");
90
91    // Trying to access the registry with our `deserialized` will give a compile error
92    // since it doesn't implement `Reflect`, only `PartialReflect`.
93    // Similarly, trying to force the operation will fail.
94    // This fails since the underlying type of `deserialized` is `DynamicStruct` and not `Player`.
95    assert!(deserialized
96        .try_as_reflect()
97        .and_then(|reflect_trait_obj| reflect_identifiable.get(reflect_trait_obj))
98        .is_none());
99
100    // So how can we go from a dynamic type to a concrete type?
101    // There are two ways:
102
103    // 1. Using `PartialReflect::apply`.
104    {
105        // If you know the type at compile time, you can construct a new value and apply the dynamic
106        // value to it.
107        let mut value = Player::default();
108        value.apply(deserialized.as_ref());
109        assert_eq!(value.id, 123);
110
111        // If you don't know the type at compile time, you need a dynamic way of constructing
112        // an instance of the type. One such way is to use the `ReflectDefault` type data.
113        let reflect_default = registration
114            .data::<ReflectDefault>()
115            .expect("`ReflectDefault` should be registered");
116
117        let mut value: Box<dyn Reflect> = reflect_default.default();
118        value.apply(deserialized.as_ref());
119
120        let identifiable: &dyn Identifiable = reflect_identifiable.get(value.as_reflect()).unwrap();
121        assert_eq!(identifiable.id(), 123);
122    }
123
124    // 2. Using `FromReflect`
125    {
126        // If you know the type at compile time, you can use the `FromReflect` trait to convert the
127        // dynamic value into the concrete type directly.
128        let value: Player = Player::from_reflect(deserialized.as_ref()).unwrap();
129        assert_eq!(value.id, 123);
130
131        // If you don't know the type at compile time, you can use the `ReflectFromReflect` type data
132        // to perform the conversion dynamically.
133        let reflect_from_reflect = registration
134            .data::<ReflectFromReflect>()
135            .expect("`ReflectFromReflect` should be registered");
136
137        let value: Box<dyn Reflect> = reflect_from_reflect
138            .from_reflect(deserialized.as_ref())
139            .unwrap();
140        let identifiable: &dyn Identifiable = reflect_identifiable.get(value.as_reflect()).unwrap();
141        assert_eq!(identifiable.id(), 123);
142    }
143
144    // Lastly, while dynamic types are commonly generated via reflection methods like
145    // `PartialReflect::to_dynamic` or via the reflection deserializers,
146    // you can also construct them manually.
147    let mut my_dynamic_list = DynamicList::from_iter([1u32, 2u32, 3u32]);
148
149    // This is useful when you just need to apply some subset of changes to a type.
150    let mut my_list: Vec<u32> = Vec::new();
151    my_list.apply(&my_dynamic_list);
152    assert_eq!(my_list, vec![1, 2, 3]);
153
154    // And if you want it to actually proxy a type, you can configure it to do that as well:
155    assert!(!my_dynamic_list
156        .as_partial_reflect()
157        .represents::<Vec<u32>>());
158    my_dynamic_list.set_represented_type(Some(<Vec<u32>>::type_info()));
159    assert!(my_dynamic_list
160        .as_partial_reflect()
161        .represents::<Vec<u32>>());
162
163    // ============================= REFERENCE ============================= //
164    // For reference, here are all the available dynamic types:
165
166    // 1. `DynamicTuple`
167    {
168        let mut dynamic_tuple = DynamicTuple::default();
169        dynamic_tuple.insert(1u32);
170        dynamic_tuple.insert(2u32);
171        dynamic_tuple.insert(3u32);
172
173        let mut my_tuple: (u32, u32, u32) = (0, 0, 0);
174        my_tuple.apply(&dynamic_tuple);
175        assert_eq!(my_tuple, (1, 2, 3));
176    }
177
178    // 2. `DynamicArray`
179    {
180        let dynamic_array = DynamicArray::from_iter([1u32, 2u32, 3u32]);
181
182        let mut my_array = [0u32; 3];
183        my_array.apply(&dynamic_array);
184        assert_eq!(my_array, [1, 2, 3]);
185    }
186
187    // 3. `DynamicList`
188    {
189        let dynamic_list = DynamicList::from_iter([1u32, 2u32, 3u32]);
190
191        let mut my_list: Vec<u32> = Vec::new();
192        my_list.apply(&dynamic_list);
193        assert_eq!(my_list, vec![1, 2, 3]);
194    }
195
196    // 4. `DynamicSet`
197    {
198        let mut dynamic_set = DynamicSet::from_iter(["x", "y", "z"]);
199        assert!(dynamic_set.contains(&"x"));
200
201        dynamic_set.remove(&"y");
202
203        let mut my_set: HashSet<&str> = HashSet::default();
204        my_set.apply(&dynamic_set);
205        assert_eq!(my_set, HashSet::from_iter(["x", "z"]));
206    }
207
208    // 5. `DynamicMap`
209    {
210        let dynamic_map = DynamicMap::from_iter([("x", 1u32), ("y", 2u32), ("z", 3u32)]);
211
212        let mut my_map: HashMap<&str, u32> = HashMap::default();
213        my_map.apply(&dynamic_map);
214        assert_eq!(my_map.get("x"), Some(&1));
215        assert_eq!(my_map.get("y"), Some(&2));
216        assert_eq!(my_map.get("z"), Some(&3));
217    }
218
219    // 6. `DynamicStruct`
220    {
221        #[derive(Reflect, Default, Debug, PartialEq)]
222        struct MyStruct {
223            x: u32,
224            y: u32,
225            z: u32,
226        }
227
228        let mut dynamic_struct = DynamicStruct::default();
229        dynamic_struct.insert("x", 1u32);
230        dynamic_struct.insert("y", 2u32);
231        dynamic_struct.insert("z", 3u32);
232
233        let mut my_struct = MyStruct::default();
234        my_struct.apply(&dynamic_struct);
235        assert_eq!(my_struct, MyStruct { x: 1, y: 2, z: 3 });
236    }
237
238    // 7. `DynamicTupleStruct`
239    {
240        #[derive(Reflect, Default, Debug, PartialEq)]
241        struct MyTupleStruct(u32, u32, u32);
242
243        let mut dynamic_tuple_struct = DynamicTupleStruct::default();
244        dynamic_tuple_struct.insert(1u32);
245        dynamic_tuple_struct.insert(2u32);
246        dynamic_tuple_struct.insert(3u32);
247
248        let mut my_tuple_struct = MyTupleStruct::default();
249        my_tuple_struct.apply(&dynamic_tuple_struct);
250        assert_eq!(my_tuple_struct, MyTupleStruct(1, 2, 3));
251    }
252
253    // 8. `DynamicEnum`
254    {
255        #[derive(Reflect, Default, Debug, PartialEq)]
256        enum MyEnum {
257            #[default]
258            Empty,
259            Xyz(u32, u32, u32),
260        }
261
262        let mut values = DynamicTuple::default();
263        values.insert(1u32);
264        values.insert(2u32);
265        values.insert(3u32);
266
267        let dynamic_variant = DynamicVariant::Tuple(values);
268        let dynamic_enum = DynamicEnum::new("Xyz", dynamic_variant);
269
270        let mut my_enum = MyEnum::default();
271        my_enum.apply(&dynamic_enum);
272        assert_eq!(my_enum, MyEnum::Xyz(1, 2, 3));
273    }
274}
Source

pub fn downcast_mut<T>(&mut self) -> Option<&mut T>
where T: Any,

Downcasts the value to type T by mutable reference.

If the underlying value is not of type T, returns None.

For remote types, T should be the type itself rather than the wrapper type.

Trait Implementations§

Source§

impl Debug for dyn Reflect

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl TypePath for dyn Reflect

Source§

fn type_path() -> &'static str

Returns the fully qualified path of the underlying type. Read more
Source§

fn short_type_path() -> &'static str

Returns a short, pretty-print enabled path to the type. Read more
Source§

fn type_ident() -> Option<&'static str>

Returns the name of the type, or None if it is anonymous. Read more
Source§

fn crate_name() -> Option<&'static str>

Returns the name of the crate the type is in, or None if it is anonymous. Read more
Source§

fn module_path() -> Option<&'static str>

Returns the path to the module the type is in, or None if it is anonymous. Read more
Source§

impl Typed for dyn Reflect

Source§

fn type_info() -> &'static TypeInfo

Returns the compile-time info for the underlying type.

Implementations on Foreign Types§

Source§

impl Reflect for &'static str

Source§

fn into_any(self: Box<&'static str>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<&'static str>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for &'static Location<'static>

Source§

fn into_any(self: Box<&'static Location<'static>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<&'static Location<'static>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for &'static Path

Source§

fn into_any(self: Box<&'static Path>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<&'static Path>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for Cow<'static, str>

Source§

fn into_any(self: Box<Cow<'static, str>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Cow<'static, str>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for Cow<'static, Path>

Source§

fn into_any(self: Box<Cow<'static, Path>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Cow<'static, Path>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for SocketAddr

Source§

fn into_any(self: Box<SocketAddr>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<SocketAddr>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for bool

Source§

fn into_any(self: Box<bool>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<bool>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for char

Source§

fn into_any(self: Box<char>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<char>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for f32

Source§

fn into_any(self: Box<f32>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<f32>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for f64

Source§

fn into_any(self: Box<f64>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<f64>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for i8

Source§

fn into_any(self: Box<i8>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<i8>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for i16

Source§

fn into_any(self: Box<i16>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<i16>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for i32

Source§

fn into_any(self: Box<i32>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<i32>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for i64

Source§

fn into_any(self: Box<i64>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<i64>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for i128

Source§

fn into_any(self: Box<i128>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<i128>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for isize

Source§

fn into_any(self: Box<isize>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<isize>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for u8

Source§

fn into_any(self: Box<u8>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<u8>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for u16

Source§

fn into_any(self: Box<u16>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<u16>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for u32

Source§

fn into_any(self: Box<u32>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<u32>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for u64

Source§

fn into_any(self: Box<u64>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<u64>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for u128

Source§

fn into_any(self: Box<u128>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<u128>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for ()

Source§

fn into_any(self: Box<()>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<()>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for usize

Source§

fn into_any(self: Box<usize>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<usize>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for TypeId

Source§

fn into_any(self: Box<TypeId>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<TypeId>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<i8>

Source§

fn into_any(self: Box<NonZero<i8>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<i8>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<i16>

Source§

fn into_any(self: Box<NonZero<i16>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<i16>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<i32>

Source§

fn into_any(self: Box<NonZero<i32>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<i32>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<i64>

Source§

fn into_any(self: Box<NonZero<i64>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<i64>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<i128>

Source§

fn into_any(self: Box<NonZero<i128>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<i128>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<isize>

Source§

fn into_any(self: Box<NonZero<isize>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<isize>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<u8>

Source§

fn into_any(self: Box<NonZero<u8>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<u8>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<u16>

Source§

fn into_any(self: Box<NonZero<u16>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<u16>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<u32>

Source§

fn into_any(self: Box<NonZero<u32>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<u32>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<u64>

Source§

fn into_any(self: Box<NonZero<u64>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<u64>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<u128>

Source§

fn into_any(self: Box<NonZero<u128>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<u128>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NonZero<usize>

Source§

fn into_any(self: Box<NonZero<usize>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NonZero<usize>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for RangeFull

Source§

fn into_any(self: Box<RangeFull>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<RangeFull>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for Duration

Source§

fn into_any(self: Box<Duration>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Duration>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for OsString

Source§

fn into_any(self: Box<OsString>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<OsString>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for PathBuf

Source§

fn into_any(self: Box<PathBuf>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<PathBuf>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for NodeIndex

Source§

fn into_any(self: Box<NodeIndex>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<NodeIndex>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl Reflect for SmolStr

Source§

fn into_any(self: Box<SmolStr>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<SmolStr>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A,)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A,)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E, F)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E, F, G)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G, H)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E, F, G, H)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G, H, I)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E, F, G, H, I)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G, H, I, J)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<(A, B, C, D, E, F, G, H, I, J)>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G, H, I, J, K)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect( self: Box<(A, B, C, D, E, F, G, H, I, J, K)>, ) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<(A, B, C, D, E, F, G, H, I, J, K, L)>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect( self: Box<(A, B, C, D, E, F, G, H, I, J, K, L)>, ) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<BTreeMap<K, V>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<BTreeMap<K, V>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<HashMap<K, V, S>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<HashMap<K, V, S>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

impl<N, E, Ix> Reflect for Graph<N, E, Directed, Ix>
where N: Clone + TypePath, E: Clone + TypePath, Ix: IndexType + TypePath, Graph<N, E, Directed, Ix>: Any + Send + Sync,

Source§

fn into_any(self: Box<Graph<N, E, Directed, Ix>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Graph<N, E, Directed, Ix>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Cow<'static, [T]>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Cow<'static, [T]>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Bound<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Bound<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Option<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Option<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<BinaryHeap<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<BinaryHeap<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<BTreeSet<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<BTreeSet<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<VecDeque<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<VecDeque<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Saturating<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Saturating<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Wrapping<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Wrapping<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Range<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Range<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<RangeFrom<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<RangeFrom<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<RangeInclusive<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<RangeInclusive<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<RangeTo<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<RangeTo<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<RangeToInclusive<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<RangeToInclusive<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<SmallVec<T>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<SmallVec<T>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<Result<T, E>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<Result<T, E>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<[T; N]>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<[T; N]>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Source§

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

Source§

fn into_any(self: Box<HashSet<V, S>>) -> Box<dyn Any>

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn into_reflect(self: Box<HashSet<V, S>>) -> Box<dyn Reflect>

Source§

fn as_reflect(&self) -> &(dyn Reflect + 'static)

Source§

fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)

Source§

fn set(&mut self, value: Box<dyn Reflect>) -> Result<(), Box<dyn Reflect>>

Implementors§

Source§

impl Reflect for AccessibilitySystems

Source§

impl Reflect for RepeatAnimation

Source§

impl Reflect for bevy::animation::gltf_curves::WeightsCurve

Source§

impl Reflect for Sensitivity

Source§

impl Reflect for SmaaPreset

Source§

impl Reflect for UntypedAssetId

Source§

impl Reflect for PlaybackMode

Source§

impl Reflect for Volume

Source§

impl Reflect for Camera3dDepthLoadOp

Source§

impl Reflect for NormalizedRenderTarget

Source§

impl Reflect for RenderTarget

Source§

impl Reflect for bevy::camera::ScalingMode

Source§

impl Reflect for ScreenSpaceTransmissionQuality

Source§

impl Reflect for CubemapLayout

Source§

impl Reflect for DebandDither

Source§

impl Reflect for Tonemapping

Source§

impl Reflect for ButtonVariant

Source§

impl Reflect for EntityCursor

Source§

impl Reflect for ButtonState

Source§

impl Reflect for GamepadConnection

Source§

impl Reflect for GamepadEvent

Source§

impl Reflect for GamepadInput

Source§

impl Reflect for GamepadRumbleRequest

Source§

impl Reflect for RawGamepadEvent

Source§

impl Reflect for Key

Source§

impl Reflect for NativeKey

Source§

impl Reflect for NativeKeyCode

Source§

impl Reflect for MouseScrollUnit

Source§

impl Reflect for ForceTouch

Source§

impl Reflect for TouchPhase

Source§

impl Reflect for ClusterConfig

Source§

impl Reflect for ClusterFarZMode

Source§

impl Reflect for ShadowFilteringMethod

Source§

impl Reflect for CompassOctant

Source§

impl Reflect for CompassQuadrant

Source§

impl Reflect for CapsuleUvProfile

Source§

impl Reflect for CircularMeshUvMode

Source§

impl Reflect for ConeAnchor

Source§

impl Reflect for CylinderAnchor

Source§

impl Reflect for Indices

Source§

impl Reflect for SphereKind

Source§

impl Reflect for AtmosphereMode

Source§

impl Reflect for OpaqueRendererMethod

Source§

impl Reflect for ScreenSpaceAmbientOcclusionQualityLevel

Source§

impl Reflect for UvChannel

Source§

impl Reflect for PickingInteraction

Source§

impl Reflect for Backfaces

Source§

impl Reflect for PointerAction

Source§

impl Reflect for PointerId

Source§

impl Reflect for PressDirection

Source§

impl Reflect for BloomCompositeMode

Source§

impl Reflect for DepthOfFieldMode

Source§

impl Reflect for AlphaMode2d

Source§

impl Reflect for FontSmoothing

Source§

impl Reflect for LineHeight

Source§

impl Reflect for FocusPolicy

Source§

impl Reflect for ControlOrientation

Source§

impl Reflect for TrackClick

Source§

impl Reflect for AppLifecycle

Source§

impl Reflect for CompositeAlphaMode

Source§

impl Reflect for CursorGrabMode

Source§

impl Reflect for CursorIcon

Source§

impl Reflect for CustomCursor

Source§

impl Reflect for PresentMode

Source§

impl Reflect for ScreenEdge

Source§

impl Reflect for SystemCursorIcon

Source§

impl Reflect for WindowEvent

Source§

impl Reflect for WindowLevel

Source§

impl Reflect for WindowMode

Source§

impl Reflect for WindowRef

Source§

impl Reflect for WindowTheme

Source§

impl Reflect for AlignContent

Source§

impl Reflect for AlignItems

Source§

impl Reflect for AlignSelf

Source§

impl Reflect for AlphaMode

Source§

impl Reflect for AnimationNodeType

Source§

impl Reflect for BoxSizing

Source§

impl Reflect for ClearColorConfig

Source§

impl Reflect for Color

Source§

impl Reflect for Display

Source§

impl Reflect for EaseFunction

Source§

impl Reflect for EulerRot

Source§

impl Reflect for FileDragAndDrop

Source§

impl Reflect for FlexDirection

Source§

impl Reflect for FlexWrap

Source§

impl Reflect for FogFalloff

Source§

impl Reflect for GamepadAxis

Source§

impl Reflect for GamepadButton

Source§

impl Reflect for GizmoLineJoint

Source§

impl Reflect for GizmoLineStyle

Source§

impl Reflect for Gradient

Source§

impl Reflect for GridAutoFlow

Source§

impl Reflect for GridTrackRepetition

Source§

impl Reflect for Ime

Source§

impl Reflect for Interaction

Source§

impl Reflect for InterpolationColorSpace

Source§

impl Reflect for JumpAt

Source§

impl Reflect for Justify

Source§

impl Reflect for JustifyContent

Source§

impl Reflect for JustifyItems

Source§

impl Reflect for JustifySelf

Source§

impl Reflect for KeyCode

Source§

impl Reflect for LightGizmoColor

Source§

impl Reflect for LineBreak

Source§

impl Reflect for MaxTrackSizingFunction

Source§

impl Reflect for MinTrackSizingFunction

Source§

impl Reflect for MonitorSelection

Source§

impl Reflect for MouseButton

Source§

impl Reflect for Msaa

Source§

impl Reflect for NodeImageMode

Source§

impl Reflect for OverflowAxis

Source§

impl Reflect for OverflowClipBox

Source§

impl Reflect for ParallaxMappingMethod

Source§

impl Reflect for PointerButton

Source§

impl Reflect for PositionType

Source§

impl Reflect for Projection

Source§

impl Reflect for RadialGradientShape

Source§

impl Reflect for RayCastVisibility

Source§

impl Reflect for bevy::prelude::ScalingMode

Source§

impl Reflect for SliceScaleMode

Source§

impl Reflect for SpriteImageMode

Source§

impl Reflect for SpritePickingMode

Source§

impl Reflect for TimerMode

Source§

impl Reflect for UiAntiAlias

Source§

impl Reflect for UntypedHandle

Source§

impl Reflect for Val

Source§

impl Reflect for VideoModeSelection

Source§

impl Reflect for Visibility

Source§

impl Reflect for WindowPosition

Source§

impl Reflect for AccessibilityRequested

Source§

impl Reflect for ManageAccessibilityUpdates

Source§

impl Reflect for CubicRotationCurve

Source§

impl Reflect for ActiveAnimation

Source§

impl Reflect for AnimationTarget

Source§

impl Reflect for AnimationTargetId

Source§

impl Reflect for ContrastAdaptiveSharpening

Source§

impl Reflect for DenoiseCas

Source§

impl Reflect for Fxaa

Source§

impl Reflect for Smaa

Source§

impl Reflect for TemporalAntiAliasing

Source§

impl Reflect for AssetIndex

Source§

impl Reflect for RenderAssetUsages

Source§

impl Reflect for NonNilUuid

Source§

impl Reflect for Uuid

Source§

impl Reflect for DefaultSpatialScale

Source§

impl Reflect for SpatialScale

Source§

impl Reflect for Aabb

Source§

impl Reflect for CascadesFrusta

Source§

impl Reflect for CubemapFrusta

Source§

impl Reflect for Frustum

Source§

impl Reflect for Camera3dDepthTextureUsage

Source§

impl Reflect for CameraMainTextureUsages

Source§

impl Reflect for CustomProjection

Source§

impl Reflect for Exposure

Source§

impl Reflect for ImageRenderTarget

Source§

impl Reflect for MainPassResolutionOverride

Source§

impl Reflect for ManualTextureViewHandle

Source§

impl Reflect for SubCameraView

Source§

impl Reflect for Viewport

Source§

impl Reflect for CascadesVisibleEntities

Source§

impl Reflect for CubemapVisibleEntities

Source§

impl Reflect for NoFrustumCulling

Source§

impl Reflect for RenderLayers

Source§

impl Reflect for VisibilityClass

Source§

impl Reflect for VisibilityRange

Source§

impl Reflect for VisibleEntities

Source§

impl Reflect for VisibleMeshEntities

Source§

impl Reflect for OrderIndependentTransparencySettings

Source§

impl Reflect for DeferredPrepass

Source§

impl Reflect for DepthPrepass

Source§

impl Reflect for MotionVectorPrepass

Source§

impl Reflect for NormalPrepass

Source§

impl Reflect for Skybox

Source§

impl Reflect for ComponentId

Source§

impl Reflect for ComponentTicks

Source§

impl Reflect for Tick

Source§

impl Reflect for EntityGeneration

Source§

impl Reflect for EntityHash

Source§

impl Reflect for EntityHashSet

Source§

impl Reflect for EntityRow

Source§

impl Reflect for DefaultQueryFilters

Source§

impl Reflect for Disabled

Source§

impl Reflect for Internal

Source§

impl Reflect for RemovedComponentEntity

Source§

impl Reflect for ObservedBy

Source§

impl Reflect for ColorSwatch

Source§

impl Reflect for ColorSwatchFg

Source§

impl Reflect for DefaultCursor

Source§

impl Reflect for InheritableFont

Source§

impl Reflect for ThemeBackgroundColor

Source§

impl Reflect for ThemeBorderColor

Source§

impl Reflect for ThemeFontColor

Source§

impl Reflect for ThemeProps

Source§

impl Reflect for ThemeToken

Source§

impl Reflect for ThemedText

Source§

impl Reflect for UiTheme

Source§

impl Reflect for ErasedGizmoConfigGroup

Source§

impl Reflect for GltfMaterialExtras

Source§

impl Reflect for GltfMaterialName

Source§

impl Reflect for GltfMeshExtras

Source§

impl Reflect for GltfMeshName

Source§

impl Reflect for GltfSceneExtras

Source§

impl Reflect for AxisSettings

Source§

impl Reflect for ButtonAxisSettings

Source§

impl Reflect for ButtonSettings

Source§

impl Reflect for GamepadAxisChangedEvent

Source§

impl Reflect for GamepadButtonChangedEvent

Source§

impl Reflect for GamepadButtonStateChangedEvent

Source§

impl Reflect for GamepadConnectionEvent

Source§

impl Reflect for GamepadRumbleIntensity

Source§

impl Reflect for RawGamepadAxisChangedEvent

Source§

impl Reflect for RawGamepadButtonChangedEvent

Source§

impl Reflect for DoubleTapGesture

Source§

impl Reflect for PanGesture

Source§

impl Reflect for PinchGesture

Source§

impl Reflect for RotationGesture

Source§

impl Reflect for KeyboardFocusLost

Source§

impl Reflect for KeyboardInput

Source§

impl Reflect for AccumulatedMouseMotion

Source§

impl Reflect for AccumulatedMouseScroll

Source§

impl Reflect for MouseButtonInput

Source§

impl Reflect for MouseMotion

Source§

impl Reflect for MouseWheel

Source§

impl Reflect for DirectionalNavigationMap

Source§

impl Reflect for NavNeighbors

Source§

impl Reflect for AutoFocus

Source§

impl Reflect for InputFocus

Source§

impl Reflect for InputFocusVisible

Source§

impl Reflect for TabGroup

Source§

impl Reflect for TabIndex

Source§

impl Reflect for Cascade

Source§

impl Reflect for ClusterZConfig

Source§

impl Reflect for CascadeShadowConfig

Source§

impl Reflect for Cascades

Source§

impl Reflect for ClusteredDecal

Source§

impl Reflect for DirectionalLightShadowMap

Source§

impl Reflect for DirectionalLightTexture

Source§

impl Reflect for FogVolume

Source§

impl Reflect for IrradianceVolume

Source§

impl Reflect for NotShadowCaster

Source§

impl Reflect for NotShadowReceiver

Source§

impl Reflect for PointLightShadowMap

Source§

impl Reflect for PointLightTexture

Source§

impl Reflect for SpotLightTexture

Source§

impl Reflect for TransmittedShadowReceiver

Source§

impl Reflect for VolumetricFog

Source§

impl Reflect for VolumetricLight

Source§

impl Reflect for Aabb2d

Source§

impl Reflect for Aabb3d

Source§

impl Reflect for AabbCast2d

Source§

impl Reflect for AabbCast3d

Source§

impl Reflect for BoundingCircle

Source§

impl Reflect for BoundingCircleCast

Source§

impl Reflect for BoundingSphere

Source§

impl Reflect for BoundingSphereCast

Source§

impl Reflect for RayCast2d

Source§

impl Reflect for RayCast3d

Source§

impl Reflect for Affine2

Source§

impl Reflect for Affine3

Source§

impl Reflect for Affine3A

Source§

impl Reflect for AspectRatio

Source§

impl Reflect for DAffine2

Source§

impl Reflect for DAffine3

Source§

impl Reflect for DMat2

Source§

impl Reflect for DMat3

Source§

impl Reflect for DMat4

Source§

impl Reflect for DQuat

Source§

impl Reflect for DVec2

Source§

impl Reflect for DVec3

Source§

impl Reflect for DVec4

Source§

impl Reflect for Dir4

Source§

impl Reflect for FloatOrd

Source§

impl Reflect for I8Vec2

Source§

impl Reflect for I8Vec3

Source§

impl Reflect for I8Vec4

Source§

impl Reflect for I16Vec2

Source§

impl Reflect for I16Vec3

Source§

impl Reflect for I16Vec4

Source§

impl Reflect for I64Vec2

Source§

impl Reflect for I64Vec3

Source§

impl Reflect for I64Vec4

Source§

impl Reflect for U8Vec2

Source§

impl Reflect for U8Vec3

Source§

impl Reflect for U8Vec4

Source§

impl Reflect for U16Vec2

Source§

impl Reflect for U16Vec3

Source§

impl Reflect for U16Vec4

Source§

impl Reflect for U64Vec2

Source§

impl Reflect for U64Vec3

Source§

impl Reflect for U64Vec4

Source§

impl Reflect for MeshMorphWeights

Source§

impl Reflect for SkinnedMesh

Source§

impl Reflect for AnnulusMeshBuilder

Source§

impl Reflect for Capsule2dMeshBuilder

Source§

impl Reflect for Capsule3dMeshBuilder

Source§

impl Reflect for CircleMeshBuilder

Source§

impl Reflect for CircularSectorMeshBuilder

Source§

impl Reflect for CircularSegmentMeshBuilder

Source§

impl Reflect for ConeMeshBuilder

Source§

impl Reflect for ConicalFrustumMeshBuilder

Source§

impl Reflect for ConvexPolygonMeshBuilder

Source§

impl Reflect for CuboidMeshBuilder

Source§

impl Reflect for CylinderMeshBuilder

Source§

impl Reflect for EllipseMeshBuilder

Source§

impl Reflect for MeshTag

Source§

impl Reflect for PlaneMeshBuilder

Source§

impl Reflect for Polyline2dMeshBuilder

Source§

impl Reflect for RectangleMeshBuilder

Source§

impl Reflect for RegularPolygonMeshBuilder

Source§

impl Reflect for RhombusMeshBuilder

Source§

impl Reflect for SphereMeshBuilder

Source§

impl Reflect for TetrahedronMeshBuilder

Source§

impl Reflect for TorusMeshBuilder

Source§

impl Reflect for Triangle2dMeshBuilder

Source§

impl Reflect for Triangle3dMeshBuilder

Source§

impl Reflect for ForwardDecal

Source§

impl Reflect for MeshletMesh3d

Source§

impl Reflect for Atmosphere

Source§

impl Reflect for AtmosphereSettings

Source§

impl Reflect for DefaultOpaqueRendererMethod

Source§

impl Reflect for GpuAtmosphereSettings

Source§

impl Reflect for Lightmap

Source§

impl Reflect for MaterialBindGroupIndex

Source§

impl Reflect for MaterialBindGroupSlot

Source§

impl Reflect for MaterialBindingId

Source§

impl Reflect for RenderCascadesVisibleEntities

Source§

impl Reflect for RenderCubemapVisibleEntities

Source§

impl Reflect for RenderVisibleMeshEntities

Source§

impl Reflect for ScreenSpaceAmbientOcclusion

Source§

impl Reflect for ScreenSpaceReflections

Source§

impl Reflect for Mesh3dWireframe

Source§

impl Reflect for NoWireframe

Source§

impl Reflect for Wireframe

Source§

impl Reflect for WireframeColor

Source§

impl Reflect for WireframeConfig

Source§

impl Reflect for WireframeMaterial

Source§

impl Reflect for RayId

Source§

impl Reflect for HitData

Source§

impl Reflect for PointerHits

Source§

impl Reflect for DirectlyHovered

Source§

impl Reflect for Hovered

Source§

impl Reflect for PointerInputSettings

Source§

impl Reflect for RayMeshHit

Source§

impl Reflect for SimplifiedMesh

Source§

impl Reflect for bevy::picking::pointer::Location

Source§

impl Reflect for PointerInput

Source§

impl Reflect for PointerInteraction

Source§

impl Reflect for PointerLocation

Source§

impl Reflect for PointerPress

Source§

impl Reflect for PickingSettings

Source§

impl Reflect for AtomicBool

Source§

impl Reflect for AtomicI8

Source§

impl Reflect for AtomicI16

Source§

impl Reflect for AtomicI32

Source§

impl Reflect for AtomicI64

Source§

impl Reflect for AtomicIsize

Source§

impl Reflect for AtomicU8

Source§

impl Reflect for AtomicU16

Source§

impl Reflect for AtomicU32

Source§

impl Reflect for AtomicU64

Source§

impl Reflect for AtomicUsize

Source§

impl Reflect for Instant

Source§

impl Reflect for AutoExposure

Source§

impl Reflect for AutoExposureCompensationCurve

Source§

impl Reflect for Bloom

Source§

impl Reflect for BloomPrefilter

Source§

impl Reflect for DepthOfField

Source§

impl Reflect for ChromaticAberration

Source§

impl Reflect for MotionBlur

Source§

impl Reflect for SchemaTypesMetadata

Source§

impl Reflect for CameraRenderGraph

Source§

impl Reflect for MipBias

Source§

impl Reflect for TemporalJitter

Source§

impl Reflect for OcclusionCulling

Source§

impl Reflect for GlobalsUniform

Source§

impl Reflect for ReadbackComplete

Source§

impl Reflect for ShaderStorageBuffer

Source§

impl Reflect for MainEntity

Source§

impl Reflect for RenderEntity

Source§

impl Reflect for SyncToRenderWorld

Source§

impl Reflect for TemporaryRenderEntity

Source§

impl Reflect for ColorGrading

Source§

impl Reflect for ColorGradingGlobal

Source§

impl Reflect for ColorGradingSection

Source§

impl Reflect for Hdr

Source§

impl Reflect for RenderVisibleEntities

Source§

impl Reflect for Screenshot

Source§

impl Reflect for ScreenshotCaptured

Source§

impl Reflect for InstanceId

Source§

impl Reflect for SceneInstanceReady

Source§

impl Reflect for Pathtracer

Source§

impl Reflect for SolariLighting

Source§

impl Reflect for RaytracingMesh3d

Source§

impl Reflect for Anchor

Source§

impl Reflect for Text2dShadow

Source§

impl Reflect for Mesh2dWireframe

Source§

impl Reflect for NoWireframe2d

Source§

impl Reflect for TileData

Source§

impl Reflect for TilemapChunk

Source§

impl Reflect for TilemapChunkMeshCache

Source§

impl Reflect for TilemapChunkTileData

Source§

impl Reflect for Wireframe2d

Source§

impl Reflect for Wireframe2dColor

Source§

impl Reflect for Wireframe2dConfig

Source§

impl Reflect for Wireframe2dMaterial

Source§

impl Reflect for ComputedTextBlock

Source§

impl Reflect for GlyphAtlasInfo

Source§

impl Reflect for GlyphAtlasLocation

Source§

impl Reflect for PositionedGlyph

Source§

impl Reflect for TextBounds

Source§

impl Reflect for TextEntity

Source§

impl Reflect for TextLayoutInfo

Source§

impl Reflect for Stopwatch

Source§

impl Reflect for GhostNode

Source§

impl Reflect for ContentSize

Source§

impl Reflect for RelativeCursorPosition

Source§

impl Reflect for ImageNodeSize

Source§

impl Reflect for TextNodeFlags

Source§

impl Reflect for CoreScrollbarDragState

Source§

impl Reflect for CoreScrollbarThumb

Source§

impl Reflect for CoreSliderDragState

Source§

impl Reflect for RadioButton

Source§

impl Reflect for Scrollbar

Source§

impl Reflect for SliderPrecision

Source§

impl Reflect for SliderStep

Source§

impl Reflect for CursorOptions

Source§

impl Reflect for CustomCursorImage

Source§

impl Reflect for CustomCursorUrl

Source§

impl Reflect for EnabledButtons

Source§

impl Reflect for InternalWindowState

Source§

impl Reflect for Monitor

Source§

impl Reflect for NormalizedWindowRef

Source§

impl Reflect for PrimaryMonitor

Source§

impl Reflect for PrimaryWindow

Source§

impl Reflect for RequestRedraw

Source§

impl Reflect for VideoMode

Source§

impl Reflect for WindowBackendScaleFactorChanged

Source§

impl Reflect for WindowCloseRequested

Source§

impl Reflect for WindowClosed

Source§

impl Reflect for WindowClosing

Source§

impl Reflect for WindowCreated

Source§

impl Reflect for WindowDestroyed

Source§

impl Reflect for WindowFocused

Source§

impl Reflect for WindowOccluded

Source§

impl Reflect for WindowResized

Source§

impl Reflect for WindowResolution

Source§

impl Reflect for WindowScaleFactorChanged

Source§

impl Reflect for WindowThemeChanged

Source§

impl Reflect for WakeUp

Source§

impl Reflect for AabbGizmoConfigGroup

Source§

impl Reflect for Add

Source§

impl Reflect for AmbientLight

Source§

impl Reflect for AngularColorStop

Source§

impl Reflect for AnimationClip

Source§

impl Reflect for AnimationGraph

Source§

impl Reflect for AnimationGraphHandle

Source§

impl Reflect for AnimationGraphNode

Source§

impl Reflect for AnimationPlayer

Source§

impl Reflect for AnimationTransition

Source§

impl Reflect for AnimationTransitions

Source§

impl Reflect for Annulus

Source§

impl Reflect for Arc2d

Source§

impl Reflect for BVec2

Source§

impl Reflect for BVec3

Source§

impl Reflect for BVec3A

Source§

impl Reflect for BVec4

Source§

impl Reflect for BVec4A

Source§

impl Reflect for BackgroundColor

Source§

impl Reflect for BackgroundGradient

Source§

impl Reflect for BorderColor

Source§

impl Reflect for BorderGradient

Source§

impl Reflect for BorderRadius

Source§

impl Reflect for BorderRect

Source§

impl Reflect for BoxShadow

Source§

impl Reflect for BoxShadowSamples

Source§

impl Reflect for Button

Source§

impl Reflect for CalculatedClip

Source§

impl Reflect for Camera2d

Source§

impl Reflect for Camera3d

Source§

impl Reflect for Camera

Source§

impl Reflect for Cancel

Source§

impl Reflect for Capsule2d

Source§

impl Reflect for Capsule3d

Source§

impl Reflect for ChildOf

Source§

impl Reflect for Children

Source§

impl Reflect for Circle

Source§

impl Reflect for CircularSector

Source§

impl Reflect for CircularSegment

Source§

impl Reflect for ClearColor

Source§

impl Reflect for Click

Source§

impl Reflect for ColorMaterial

Source§

impl Reflect for ColorStop

Source§

impl Reflect for ComputedNode

Source§

impl Reflect for ComputedUiRenderTargetInfo

Source§

impl Reflect for ComputedUiTargetCamera

Source§

impl Reflect for Cone

Source§

impl Reflect for ConicGradient

Source§

impl Reflect for ConicalFrustum

Source§

impl Reflect for ConvexPolygon

Source§

impl Reflect for Cuboid

Source§

impl Reflect for CursorEntered

Source§

impl Reflect for CursorLeft

Source§

impl Reflect for CursorMoved

Source§

impl Reflect for Cylinder

Source§

impl Reflect for DefaultGizmoConfigGroup

Source§

impl Reflect for Despawn

Source§

impl Reflect for Dir2

Source§

impl Reflect for Dir3

Source§

impl Reflect for Dir3A

Source§

impl Reflect for DirectionalLight

Source§

impl Reflect for DistanceFog

Source§

impl Reflect for Drag

Source§

impl Reflect for DragDrop

Source§

impl Reflect for DragEnd

Source§

impl Reflect for DragEnter

Source§

impl Reflect for DragEntry

Source§

impl Reflect for DragLeave

Source§

impl Reflect for DragOver

Source§

impl Reflect for DragStart

Source§

impl Reflect for DynamicSceneRoot

Source§

impl Reflect for Ellipse

Source§

impl Reflect for Entity

Source§

impl Reflect for EnvironmentMapLight

Source§

impl Reflect for Fixed

Source§

impl Reflect for Gamepad

Source§

impl Reflect for GamepadSettings

Source§

impl Reflect for GeneratedEnvironmentMapLight

Source§

impl Reflect for Gizmo

Source§

impl Reflect for GizmoConfig

Source§

impl Reflect for GizmoConfigStore

Source§

impl Reflect for GizmoLineConfig

Source§

impl Reflect for GlobalTransform

Source§

impl Reflect for GlobalVolume

Source§

impl Reflect for GlobalZIndex

Source§

impl Reflect for GltfExtras

Source§

impl Reflect for GridPlacement

Source§

impl Reflect for GridTrack

Source§

impl Reflect for Hsla

Source§

impl Reflect for Hsva

Source§

impl Reflect for Hwba

Source§

impl Reflect for IRect

Source§

impl Reflect for IVec2

Source§

impl Reflect for IVec3

Source§

impl Reflect for IVec4

Source§

impl Reflect for Image

Source§

impl Reflect for ImageNode

Source§

impl Reflect for InfinitePlane3d

Source§

impl Reflect for InheritedVisibility

Source§

impl Reflect for Insert

Source§

impl Reflect for Interval

Source§

impl Reflect for Isometry2d

Source§

impl Reflect for Isometry3d

Source§

impl Reflect for Laba

Source§

impl Reflect for Label

Source§

impl Reflect for LayoutConfig

Source§

impl Reflect for Lcha

Source§

impl Reflect for LightGizmoConfigGroup

Source§

impl Reflect for LightProbe

Source§

impl Reflect for Line2d

Source§

impl Reflect for Line3d

Source§

impl Reflect for LinearGradient

Source§

impl Reflect for LinearRgba

Source§

impl Reflect for Mat2

Source§

impl Reflect for Mat3

Source§

impl Reflect for Mat3A

Source§

impl Reflect for Mat4

Source§

impl Reflect for Mesh2d

Source§

impl Reflect for Mesh3d

Source§

impl Reflect for Mesh

Source§

impl Reflect for MeshPickingCamera

Source§

impl Reflect for MeshPickingSettings

Source§

impl Reflect for MorphWeights

Source§

impl Reflect for Move

Source§

impl Reflect for Name

Source§

impl Reflect for Node

Source§

impl Reflect for Oklaba

Source§

impl Reflect for Oklcha

Source§

impl Reflect for OrthographicProjection

Source§

impl Reflect for Out

Source§

impl Reflect for Outline

Source§

impl Reflect for Over

Source§

impl Reflect for Overflow

Source§

impl Reflect for OverflowClipMargin

Source§

impl Reflect for PerspectiveProjection

Source§

impl Reflect for Pickable

Source§

impl Reflect for Plane2d

Source§

impl Reflect for Plane3d

Source§

impl Reflect for PlaybackSettings

Source§

impl Reflect for PointLight

Source§

impl Reflect for Polygon

Source§

impl Reflect for Polyline2d

Source§

impl Reflect for Polyline3d

Source§

impl Reflect for Press

Source§

impl Reflect for Quat

Source§

impl Reflect for RadialGradient

Source§

impl Reflect for Ray2d

Source§

impl Reflect for Ray3d

Source§

impl Reflect for RayCastBackfaces

Source§

impl Reflect for Real

Source§

impl Reflect for Rect

Source§

impl Reflect for Rectangle

Source§

impl Reflect for RegularPolygon

Source§

impl Reflect for Release

Source§

impl Reflect for Remove

Source§

impl Reflect for RepeatedGridTrack

Source§

impl Reflect for Replace

Source§

impl Reflect for ResolvedBorderRadius

Source§

impl Reflect for Rhombus

Source§

impl Reflect for Rot2

Source§

impl Reflect for SceneRoot

Source§

impl Reflect for Scroll

Source§

impl Reflect for ScrollPosition

Source§

impl Reflect for Segment2d

Source§

impl Reflect for Segment3d

Source§

impl Reflect for ShadowStyle

Source§

impl Reflect for ShowAabbGizmo

Source§

impl Reflect for ShowLightGizmo

Source§

impl Reflect for SpatialListener

Source§

impl Reflect for Sphere

Source§

impl Reflect for SpotLight

Source§

impl Reflect for Sprite

Source§

impl Reflect for SpritePickingCamera

Source§

impl Reflect for SpritePickingSettings

Source§

impl Reflect for Srgba

Source§

impl Reflect for StandardMaterial

Source§

impl Reflect for String

Source§

impl Reflect for Tetrahedron

Source§

impl Reflect for Text2d

Source§

impl Reflect for Text

Source§

impl Reflect for TextBackgroundColor

Source§

impl Reflect for TextColor

Source§

impl Reflect for TextFont

Source§

impl Reflect for TextLayout

Source§

impl Reflect for TextShadow

Source§

impl Reflect for TextSpan

Source§

impl Reflect for TextureAtlas

Source§

impl Reflect for TextureAtlasLayout

Source§

impl Reflect for TextureSlicer

Source§

impl Reflect for ThreadedAnimationGraph

Source§

impl Reflect for ThreadedAnimationGraphs

Source§

impl Reflect for Timer

Source§

impl Reflect for Torus

Source§

impl Reflect for TouchInput

Source§

impl Reflect for Transform

Source§

impl Reflect for TransformTreeChanged

Source§

impl Reflect for Triangle2d

Source§

impl Reflect for Triangle3d

Source§

impl Reflect for URect

Source§

impl Reflect for UVec2

Source§

impl Reflect for UVec3

Source§

impl Reflect for UVec4

Source§

impl Reflect for UiDebugOptions

Source§

impl Reflect for UiGlobalTransform

Source§

impl Reflect for UiPickingCamera

Source§

impl Reflect for UiPickingSettings

Source§

impl Reflect for UiPosition

Source§

impl Reflect for UiRect

Source§

impl Reflect for UiScale

Source§

impl Reflect for UiTargetCamera

Source§

impl Reflect for UiTransform

Source§

impl Reflect for Val2

Source§

impl Reflect for Vec2

Source§

impl Reflect for Vec3

Source§

impl Reflect for Vec3A

Source§

impl Reflect for Vec4

Source§

impl Reflect for ViewVisibility

Source§

impl Reflect for ViewportNode

Source§

impl Reflect for Virtual

Source§

impl Reflect for Window

Source§

impl Reflect for WindowMoved

Source§

impl Reflect for WindowResizeConstraints

Source§

impl Reflect for Xyza

Source§

impl Reflect for ZIndex

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<A> Reflect for AnimatableCurveEvaluator<A>
where A: Animatable + TypePath, AnimatableCurveEvaluator<A>: Any + Send + Sync, BasicAnimationCurveEvaluator<A>: FromReflect + TypePath + MaybeTyped + RegisterForReflection, Box<dyn AnimatableProperty<Property = A>>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<C> Reflect for SampleDerivativeWrapper<C>
where SampleDerivativeWrapper<C>: Any + Send + Sync, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<C> Reflect for SampleTwoDerivativesWrapper<C>
where SampleTwoDerivativesWrapper<C>: Any + Send + Sync, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<C> Reflect for bevy::prelude::WeightsCurve<C>
where WeightsCurve<C>: Any + Send + Sync, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<Config, Clear> Reflect for GizmoBuffer<Config, Clear>
where GizmoBuffer<Config, Clear>: Any + Send + Sync, Config: GizmoConfigGroup + TypePath, Clear: 'static + Send + Sync + TypePath,

Source§

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

Source§

impl<E> Reflect for Pointer<E>
where E: Debug + Clone + Reflect + TypePath + FromReflect + MaybeTyped + RegisterForReflection, Pointer<E>: Any + Send + Sync,

Source§

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

Source§

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

Source§

impl<M> Reflect for FocusedInput<M>
where M: Message + Clone + TypePath + FromReflect + MaybeTyped + RegisterForReflection, FocusedInput<M>: Any + Send + Sync,

Source§

impl<M> Reflect for MaterialNode<M>
where M: UiMaterial + TypePath, MaterialNode<M>: Any + Send + Sync, Handle<M>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<M> Reflect for MeshMaterial2d<M>
where M: Material2d + TypePath, MeshMaterial2d<M>: Any + Send + Sync, Handle<M>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<M> Reflect for MeshMaterial3d<M>
where M: Material + TypePath, MeshMaterial3d<M>: Any + Send + Sync, Handle<M>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<P, C> Reflect for AnimatableCurve<P, C>
where AnimatableCurve<P, C>: Any + Send + Sync, P: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<S> Reflect for NextState<S>
where S: FreelyMutableState + TypePath + FromReflect + MaybeTyped + RegisterForReflection, NextState<S>: Any + Send + Sync,

Source§

impl<S> Reflect for DespawnOnEnter<S>
where S: States + TypePath + FromReflect + MaybeTyped + RegisterForReflection, DespawnOnEnter<S>: Any + Send + Sync,

Source§

impl<S> Reflect for DespawnOnExit<S>
where S: States + TypePath + FromReflect + MaybeTyped + RegisterForReflection, DespawnOnExit<S>: Any + Send + Sync,

Source§

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

Source§

impl<S, T, C, D> Reflect for ZipCurve<S, T, C, D>
where ZipCurve<S, T, C, D>: Any + Send + Sync, S: TypePath, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, D: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<S, T, C, F> Reflect for MapCurve<S, T, C, F>
where MapCurve<S, T, C, F>: Any + Send + Sync, C: PartialReflect + TypePath + MaybeTyped + RegisterForReflection, S: TypePath, T: TypePath,

Source§

impl<Source> Reflect for AudioPlayer<Source>
where AudioPlayer<Source>: Any + Send + Sync, Source: Asset + Decodable + TypePath, Handle<Source>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for HandleOrPath<T>
where T: Asset + TypePath, HandleOrPath<T>: Any + Send + Sync, Handle<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

impl<T> Reflect for CubicKeyframeCurve<T>
where CubicKeyframeCurve<T>: Any + Send + Sync, T: TypePath, ChunkedUnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for SteppedKeyframeCurve<T>
where SteppedKeyframeCurve<T>: Any + Send + Sync, T: TypePath, UnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for WideCubicKeyframeCurve<T>
where WideCubicKeyframeCurve<T>: Any + Send + Sync, T: TypePath, ChunkedUnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for WideLinearKeyframeCurve<T>
where WideLinearKeyframeCurve<T>: Any + Send + Sync, T: TypePath, ChunkedUnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for WideSteppedKeyframeCurve<T>
where WideSteppedKeyframeCurve<T>: Any + Send + Sync, T: TypePath, ChunkedUnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

impl<T> Reflect for MaybeLocation<T>
where MaybeLocation<T>: Any + Send + Sync, T: TypePath + FromReflect + MaybeTyped + RegisterForReflection + ?Sized,

Source§

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

Source§

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

Source§

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

Source§

impl<T> Reflect for ChunkedUnevenCore<T>
where ChunkedUnevenCore<T>: Any + Send + Sync, T: TypePath, Vec<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for AnimatableKeyframeCurve<T>
where AnimatableKeyframeCurve<T>: Any + Send + Sync, T: TypePath, UnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T> Reflect for UnevenCore<T>
where UnevenCore<T>: Any + Send + Sync, T: TypePath, Vec<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<T> Reflect for UnevenSampleAutoCurve<T>
where UnevenSampleAutoCurve<T>: Any + Send + Sync, T: TypePath, UnevenCore<T>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

impl<T, C> Reflect for ForeverCurve<T, C>
where ForeverCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C> Reflect for GraphCurve<T, C>
where GraphCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C> Reflect for LinearReparamCurve<T, C>
where LinearReparamCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C> Reflect for PingPongCurve<T, C>
where PingPongCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C> Reflect for RepeatCurve<T, C>
where RepeatCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C> Reflect for ReverseCurve<T, C>
where ReverseCurve<T, C>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C, D> Reflect for ChainCurve<T, C, D>
where ChainCurve<T, C, D>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, D: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C, D> Reflect for ContinuationCurve<T, C, D>
where ContinuationCurve<T, C, D>: Any + Send + Sync, T: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, D: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C, D> Reflect for CurveReparamCurve<T, C, D>
where CurveReparamCurve<T, C, D>: Any + Send + Sync, T: TypePath, C: TypePath + PartialReflect + MaybeTyped + RegisterForReflection, D: TypePath + PartialReflect + MaybeTyped + RegisterForReflection,

Source§

impl<T, C, F> Reflect for ReparamCurve<T, C, F>
where ReparamCurve<T, C, F>: Any + Send + Sync, C: PartialReflect + TypePath + MaybeTyped + RegisterForReflection, T: TypePath,

Source§

impl<T, F> Reflect for FunctionCurve<T, F>
where FunctionCurve<T, F>: Any + Send + Sync, T: TypePath,

Source§

impl<T, I> Reflect for SampleCurve<T, I>
where SampleCurve<T, I>: Any + Send + Sync, EvenCore<T>: PartialReflect + TypePath + MaybeTyped + RegisterForReflection, T: TypePath,

Source§

impl<T, I> Reflect for UnevenSampleCurve<T, I>
where UnevenSampleCurve<T, I>: Any + Send + Sync, UnevenCore<T>: PartialReflect + TypePath + MaybeTyped + RegisterForReflection, T: TypePath,

Source§

impl<V> Reflect for EntityHashMap<V>
where EntityHashMap<V>: Any + Send + Sync, V: TypePath, HashMap<Entity, V, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

impl<V> Reflect for EntityIndexMap<V>
where EntityIndexMap<V>: Any + Send + Sync, V: TypePath, IndexMap<Entity, V, EntityHash>: FromReflect + TypePath + MaybeTyped + RegisterForReflection,

Source§

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

Source§

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