pub type ComponentBag = Box<dyn Component<Props = PropBag>>;
Aliased Type§
pub struct ComponentBag(/* private fields */);
Trait Implementations§
Source§impl<U: ?Sized> ComponentWrap<U> for ComponentBag
impl<U: ?Sized> ComponentWrap<U> for ComponentBag
Source§impl FromLua for ComponentBag
impl FromLua for ComponentBag
Source§impl StateMachineChild for ComponentBag
impl StateMachineChild for ComponentBag
Source§impl UserData for ComponentBag
impl UserData for ComponentBag
Source§fn add_fields<F>(fields: &mut F)where
F: UserDataFields<Self>,
fn add_fields<F>(fields: &mut F)where
F: UserDataFields<Self>,
Adds custom fields specific to this userdata.
Source§fn add_methods<M>(methods: &mut M)where
M: UserDataMethods<Self>,
fn add_methods<M>(methods: &mut M)where
M: UserDataMethods<Self>,
Adds custom methods and operators specific to this userdata.
Source§fn register(registry: &mut UserDataRegistry<Self>)
fn register(registry: &mut UserDataRegistry<Self>)
Registers this type for use in Lua. Read more