It doesn't do the getter functions. How should returning a *const c_char get wrapped?
The Doc trait doesn't return Self, so it can't be chained, but I'm not sure that that would work correctly anyway.
The Doc trait takes self rather than &self because doing anything else is messy.
The Doc trait takes an world: impl IntoWorld<'a> even though it shouldn't be necessary for an EntityView, Component or other things, again making the API messy.
This has some issues left to resolve:
*const c_char
get wrapped?Doc
trait doesn't returnSelf
, so it can't be chained, but I'm not sure that that would work correctly anyway.Doc
trait takesself
rather than&self
because doing anything else is messy.Doc
trait takes anworld: impl IntoWorld<'a>
even though it shouldn't be necessary for anEntityView
,Component
or other things, again making the API messy.