pub struct AlertsModule;Available on crate feature
flecs_alerts only.Trait Implementations§
Source§impl Clone for AlertsModule
impl Clone for AlertsModule
Source§fn clone(&self) -> AlertsModule
fn clone(&self) -> AlertsModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComponentId for AlertsModulewhere
Self: 'static,
impl ComponentId for AlertsModulewhere
Self: 'static,
Source§fn is_registered_with_world<'a>(world: impl WorldProvider<'a>) -> bool
fn is_registered_with_world<'a>(world: impl WorldProvider<'a>) -> bool
checks if the component is registered with a world.
Source§fn id() -> Id<Self>
fn id() -> Id<Self>
utility function to returning an Id object which is used for fn’s that take
IntoEntity or IntoId variableSource§fn entity_id<'a>(world: impl WorldProvider<'a>) -> ecs_entity_t
fn entity_id<'a>(world: impl WorldProvider<'a>) -> ecs_entity_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,
fn register_clone_hook<'a>(world: impl WorldProvider<'a>)where
Self: Clone,
Source§impl ComponentInfo for AlertsModule
impl ComponentInfo for AlertsModule
impl Copy for AlertsModule
Source§impl Default for AlertsModule
impl Default for AlertsModule
Source§fn default() -> AlertsModule
fn default() -> AlertsModule
Returns the “default value” for a type. Read more
Source§impl IntoEntity for AlertsModule
impl IntoEntity for AlertsModule
const IS_TYPED_PAIR: bool = false
const IS_TYPED: bool = true
const IF_ID_IS_DEFAULT: bool = true
const IS_TYPED_SECOND: bool = false
const IF_ID_IS_DEFAULT_SECOND: bool = false
const IS_ENUM: bool = false
const IS_TYPE_TAG: bool = true
const IS_TYPED_REF: bool = false
const IS_TYPED_MUT_REF: bool = false
type CastType = AlertsModule
type IsTyped = FlecsIsTyped
type IsTag = <AlertsModule as ComponentInfo>::TagType
fn into_entity<'a>(self, world: impl WorldProvider<'a>) -> Entity
Source§impl IntoEntity for &'static AlertsModule
impl IntoEntity for &'static AlertsModule
const IS_TYPED_PAIR: bool = false
const IS_TYPED: bool = true
const IF_ID_IS_DEFAULT: bool = true
const IS_TYPED_SECOND: bool = false
const IF_ID_IS_DEFAULT_SECOND: bool = false
const IS_ENUM: bool = false
const IS_TYPE_TAG: bool = true
const IS_TYPED_REF: bool = true
const IS_TYPED_MUT_REF: bool = false
type CastType = &'static AlertsModule
type IsTyped = FlecsIsTyped
type IsTag = <&'static AlertsModule as ComponentInfo>::TagType
fn into_entity<'a>(self, world: impl WorldProvider<'a>) -> Entity
Source§impl IntoEntity for &'static mut AlertsModule
impl IntoEntity for &'static mut AlertsModule
const IS_TYPED_PAIR: bool = false
const IS_TYPED: bool = true
const IF_ID_IS_DEFAULT: bool = true
const IS_TYPED_SECOND: bool = false
const IF_ID_IS_DEFAULT_SECOND: bool = false
const IS_ENUM: bool = false
const IS_TYPE_TAG: bool = true
const IS_TYPED_REF: bool = false
const IS_TYPED_MUT_REF: bool = true
type CastType = &'static mut AlertsModule
type IsTyped = FlecsIsTyped
type IsTag = <&'static mut AlertsModule as ComponentInfo>::TagType
fn into_entity<'a>(self, world: impl WorldProvider<'a>) -> Entity
Source§impl Module for AlertsModule
impl Module for AlertsModule
Source§impl OnComponentRegistration for AlertsModule
impl OnComponentRegistration for AlertsModule
Source§fn on_component_registration(_world: WorldRef<'_>, _component_id: Entity)
fn on_component_registration(_world: WorldRef<'_>, _component_id: Entity)
This function is called when a component is first registered.
Implementing it allows for custom injectable code to be executed on component registration
impl TagComponent for AlertsModule
Auto Trait Implementations§
impl Freeze for AlertsModule
impl RefUnwindSafe for AlertsModule
impl Send for AlertsModule
impl Sync for AlertsModule
impl Unpin for AlertsModule
impl UnsafeUnpin for AlertsModule
impl UnwindSafe for AlertsModule
Blanket Implementations§
impl<T> AccessArg for T
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