bevy/crates/bevy_reflect/src
Waridley 5b0f40f3f1 Document FromType trait (#2323)
# Objective

Prevent future unnecessary mental effort spent figuring out why this trait exists and how to resolve the `TODO`.

## Solution

I happened to notice this trait being used when expanding the `#[derive(Reflect)]` macro in my own crate to figure out how it worked, and noticed that there was a `TODO` comment on it because it is only used in the derive macro and thus appeared to be unused.

I figured I should document my findings to prevent someone else from finding them out the hard way in the future 😆 

Co-authored-by: Waridley <Waridley64@gmail.com>
2021-06-09 18:32:18 +00:00
..
impls Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
serde Implement Reflect for tuples up to length 12 (#1218) 2021-01-07 19:50:09 -08:00
lib.rs Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
list.rs Override size_hint for all Iterators and add ExactSizeIterator where applicable (#1734) 2021-04-13 01:28:14 +00:00
map.rs Override size_hint for all Iterators and add ExactSizeIterator where applicable (#1734) 2021-04-13 01:28:14 +00:00
path.rs Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
reflect.rs fix dead intra links in doc on Input and Reflect (#2007) 2021-04-25 17:24:09 +00:00
struct_trait.rs Override size_hint for all Iterators and add ExactSizeIterator where applicable (#1734) 2021-04-13 01:28:14 +00:00
tuple.rs Override size_hint for all Iterators and add ExactSizeIterator where applicable (#1734) 2021-04-13 01:28:14 +00:00
tuple_struct.rs Override size_hint for all Iterators and add ExactSizeIterator where applicable (#1734) 2021-04-13 01:28:14 +00:00
type_registry.rs Document FromType trait (#2323) 2021-06-09 18:32:18 +00:00
type_uuid.rs revert supporting generics for deriving TypeUuid (#2204) 2021-05-17 20:28:50 +00:00