Trait rin::ecs::SystemDebug [−][src]
pub trait SystemDebug {
pub fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
);
pub fn name() -> Option<&'static str> { ... }
pub fn before() -> Vec<SystemId, Global>ⓘ { ... }
pub fn after() -> Vec<SystemId, Global>ⓘ { ... }
pub fn updates() -> Vec<TypeId, Global>ⓘ { ... }
pub fn needs() -> Vec<TypeId, Global>ⓘ { ... }
pub fn reads() -> Vec<TypeId, Global>ⓘ { ... }
pub fn writes() -> Vec<TypeId, Global>ⓘ { ... }
pub fn file_line_info(&self) -> &'static str { ... }
}System that gives access to debug information for entites and their components
Any function that receives an EntitiesDebug and a ResourcesThreadLocal parameters in that order will automatically implement this trait and can be added as a debug system to the world
Required methods
pub fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)[src]
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)
Provided methods
pub fn name() -> Option<&'static str>[src]
pub fn before() -> Vec<SystemId, Global>ⓘ[src]
pub fn after() -> Vec<SystemId, Global>ⓘ[src]
pub fn updates() -> Vec<TypeId, Global>ⓘ[src]
pub fn needs() -> Vec<TypeId, Global>ⓘ[src]
pub fn reads() -> Vec<TypeId, Global>ⓘ[src]
pub fn writes() -> Vec<TypeId, Global>ⓘ[src]
pub fn file_line_info(&self) -> &'static str[src]
Implementors
impl<'a, F> SystemDebug for F where
F: FnMut(EntitiesDebug<'_>, ResourcesThreadLocal<'_>), [src]
impl<'a, F> SystemDebug for F where
F: FnMut(EntitiesDebug<'_>, ResourcesThreadLocal<'_>), [src]pub fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)[src]
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)