pub struct OnLoad;
Available on crate feature
flecs_system
only.Trait Implementations§
Source§impl ComponentId for OnLoad
impl ComponentId for OnLoad
Source§fn is_registered_with_world<'a>(_: impl WorldProvider<'a>) -> bool
fn is_registered_with_world<'a>(_: impl WorldProvider<'a>) -> bool
checks if the component is registered with a world.
Source§fn id<'a>(_world: impl WorldProvider<'a>) -> ecs_id_t
fn id<'a>(_world: impl WorldProvider<'a>) -> ecs_id_t
returns the component id registered with a particular world. If the component is not registered, it will register it. Read more
fn register_ctor_hook<'a>(world: impl WorldProvider<'a>)where
Self: Default,
Source§impl ComponentInfo for OnLoad
impl ComponentInfo for OnLoad
impl FlecsTrait for OnLoad
impl TagComponent for OnLoad
Auto Trait Implementations§
impl Freeze for OnLoad
impl RefUnwindSafe for OnLoad
impl Send for OnLoad
impl Sync for OnLoad
impl Unpin for OnLoad
impl UnwindSafe for OnLoad
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more