Define OneComponent con tipado restringido

This commit is contained in:
Manuel Cillero 2023-05-28 09:08:29 +02:00
parent dd443ca375
commit 23a6f36f62
12 changed files with 68 additions and 90 deletions

View file

@ -4,11 +4,8 @@ pub use context::{ContextOp, RenderContext};
mod definition;
pub use definition::{component_mut, component_ref, AnyComponent, BaseComponent, ComponentTrait};
mod default;
pub(crate) use default::DefaultComponent;
mod arc;
pub use arc::ComponentArc;
mod one;
pub use one::OneComponent;
mod bundle;
pub use bundle::ComponentsBundle;