pub struct OnValidate;
Available on crate feature
flecs_system
only.Trait Implementations§
Source§impl ComponentId for OnValidate
impl ComponentId for OnValidate
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 OnValidate
impl ComponentInfo for OnValidate
Source§impl Debug for OnValidate
impl Debug for OnValidate
Source§impl Default for OnValidate
impl Default for OnValidate
Source§fn default() -> OnValidate
fn default() -> OnValidate
Returns the “default value” for a type. Read more
Source§impl Deref for OnValidate
impl Deref for OnValidate
Source§impl FlecsConstantId for OnValidate
impl FlecsConstantId for OnValidate
impl FlecsTrait for OnValidate
impl TagComponent for OnValidate
Auto Trait Implementations§
impl Freeze for OnValidate
impl RefUnwindSafe for OnValidate
impl Send for OnValidate
impl Sync for OnValidate
impl Unpin for OnValidate
impl UnwindSafe for OnValidate
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