Dmitry Stepanov
62d8fcc7f3
DynType::try_take_or_default
2026-09-03 19:23:05 +03:00
Dmitry Stepanov
135dc00c94
include type name of fields in inspector tooltips
2026-08-30 17:01:56 +03:00
Dmitry Stepanov
724e75536a
do not compact fields in the inspector + always show revert button
2026-08-30 16:48:45 +03:00
Dmitry Stepanov
b88e4a09b6
fixed layout of inheritable property editor + styling
2026-08-22 18:03:35 +03:00
Dmitry Stepanov
180cbe3590
cargo fmt
2026-08-19 20:59:55 +03:00
Dmitry Stepanov
2fac139412
Visit + Reflect impls for KeyCode of winit
2026-08-13 14:19:22 +03:00
Dmitry Stepanov
efe97b8229
handle non-exhaustive enums in Visit proc-macro correctly
2026-08-11 11:48:55 +03:00
Dmitry Stepanov
36f42974ca
hash set reflection
2026-08-01 10:26:05 +03:00
Dmitry Stepanov
0a41a5fe05
fix/suppress clippy warnings
2026-07-26 16:32:52 +03:00
Dmitry Stepanov
8363d35c0b
ability to ignore type uuid of generics in reflect proc-macro
2026-07-26 16:23:53 +03:00
Dmitry Stepanov
87486d3892
run clippy fix
2026-07-26 12:57:48 +03:00
Dmitry Stepanov
af2a8bf52e
basic support for reflection-based inspector commands for hash maps
2026-07-20 23:44:26 +03:00
Dmitry Stepanov
d03520e291
ability to replace hash map key via reflection + refactoring
2026-07-19 21:26:03 +03:00
Dmitry Stepanov
2d03cc4620
draft support for hash maps in Inspector
2026-07-19 17:59:38 +03:00
Sybrand Aarnoutse
1a0f6944e2
Remove dependency on memoffset
...
`memoffset::offset_of!` was stabilised as `core::mem::offset_of!` in
rust 1.77
2026-07-07 19:27:39 +02:00
Dmitry Stepanov
5112072d1e
bump msrv + clippy fixes
2026-07-04 20:54:03 +03:00
Dmitry Stepanov
d179d10e50
update to rapier 0.33
2026-06-14 22:17:47 +03:00
Dmitry Stepanov
6c4eda4010
improved docs for Reflect trait
2026-06-14 20:14:50 +03:00
Dmitry Stepanov
048aae2e6e
removed ReflectInheriableVariable::clone_value_box
...
- replaced with `Reflect::try_clone_box`
2026-06-12 22:35:45 +03:00
Dmitry Stepanov
589a08a928
removed redundant method
...
- replaced with `try_compare`
2026-06-12 22:12:08 +03:00
Dmitry Stepanov
c0978db579
continue with PartialEq impls
2026-06-09 23:15:40 +03:00
Dmitry Stepanov
d35476c864
more PartialEq impls
2026-06-07 23:58:55 +03:00
Dmitry Stepanov
7a798f7e68
Reflect::try_compare impls
2026-06-06 22:37:34 +03:00
Dmitry Stepanov
0965df060c
Reflect::try_compare draft
2026-06-05 23:06:29 +03:00
Dmitry Stepanov
7f33a13ff9
merged TypeUuidProvider trait into Reflect
2026-05-28 21:50:17 +03:00
Dmitry Stepanov
13bf223e07
fixed editing of inheritable vars
2026-05-23 22:16:05 +03:00
Dmitry Stepanov
bee807ea17
fixed downcasting for widgets and scene nodes
...
- removed a bunch of unnecessary casts to &dyn Reflect
2026-05-22 20:31:20 +03:00
Dmitry Stepanov
3a6c36de6b
doc improvements + corrections
2026-05-21 19:43:59 +03:00
Dmitry Stepanov
480559e07a
refactored Reflect::as_xxx methods to return value itself
...
- there's no reason anymore to use closures there because proxy structures now supports reflection in normal way
2026-05-21 18:22:39 +03:00
Dmitry Stepanov
1799856ea3
use Reflect auto impl for trait object wrappers
2026-05-21 13:37:28 +03:00
Dmitry Stepanov
ec83a5d6e5
refactored Reflect trait to remove unnecessary proxying
...
- proxying to the inner value overly complicates the implementation and adds a lot overhead
- this is quite dangerous change since it may have subtle side effects, needs to be thoroughly tested
2026-05-19 18:49:17 +03:00
Dmitry Stepanov
93d4920477
renamed methods with confusing naming + docs
2026-05-16 19:31:41 +03:00
Dmitry Stepanov
e96d96544f
mark inheritable variable as modified when accessing fields by _direct
2026-05-15 13:03:05 +03:00
Dmitry Stepanov
e7f1b1d4d8
cleaned up type info fetching from Reflect + put type info in a struct
2026-05-15 11:32:33 +03:00
Dmitry Stepanov
b3be88a471
Reflect::into_any -> Reflect::into_inner_reflect + docs
2026-05-14 11:28:08 +03:00
Dmitry Stepanov
91f8c360b5
removed Reflect::as_any/as_any_mut
...
- useless methods because can be replaced via `Reflect::as_reflect` + `as &dyn Reflect` cast
2026-05-13 23:33:13 +03:00
Dmitry Stepanov
d317a1179f
fixed doc comments + fixed misleading docs
2026-05-10 20:06:56 +03:00
Dmitry Stepanov
1c0cf15c50
unified naming for field fetching via reflection
...
- previous approach with `ComponentProvider` trait was quite misleading, it didn't return a "component" - it simply returned marked fieds
- the new approach is more explicit - method names tells exactly what they do
2026-05-10 18:28:18 +03:00
Dmitry Stepanov
edc7bf0ec0
improved docs
2026-05-09 23:01:23 +03:00
Dmitry Stepanov
b17c5f5801
fixed failing test
2026-05-09 20:01:49 +03:00
Dmitry Stepanov
c03e4aa7e9
removed ComponentProvider, merged its functionality into Reflect
...
- chained component fetching isn't supported yet, so it is not one-to-one merge
2026-05-09 19:55:11 +03:00
Dmitry Stepanov
e553174d5d
Reflect::self_or_field_ref/mut_of_type
2026-05-08 17:30:09 +03:00
Dmitry Stepanov
5cf90dff53
Reflect::first_field_ref/mut_of_type
2026-05-08 15:18:08 +03:00
Dmitry Stepanov
1904f95519
Reflect::get_field_direct_ref/mut
2026-05-08 12:56:48 +03:00
Dmitry Stepanov
0899691cfc
Reflect::fields_count
2026-05-07 22:31:44 +03:00
Dmitry Stepanov
660bcd709a
renamed field -> find_field + field_mut -> find_field_mut
2026-05-06 23:49:46 +03:00
Dmitry Stepanov
9df3443a24
merge modules
2026-05-06 11:06:39 +03:00
Dmitry Stepanov
747fa780f5
continue splitting reflect module
2026-05-06 11:03:47 +03:00
Dmitry Stepanov
e9b389be77
split reflect mod into smaller modules
2026-05-06 10:55:33 +03:00
Dmitry Stepanov
46192f2edb
moved reflect impl macros to separate mod + fix delegate_reflect macro
2026-05-05 09:52:05 +03:00