Trait rinecs::SystemDebug [−][src]
pub trait SystemDebug {
fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
);
fn name() -> Option<&'static str>
where
Self: Sized,
{ ... }
fn before() -> Vec<SystemId>
where
Self: Sized,
{ ... }
fn after() -> Vec<SystemId>
where
Self: Sized,
{ ... }
fn updates() -> Vec<TypeId>
where
Self: Sized,
{ ... }
fn needs() -> Vec<TypeId>
where
Self: Sized,
{ ... }
fn reads() -> Vec<TypeId>
where
Self: Sized,
{ ... }
fn writes() -> Vec<TypeId>
where
Self: Sized,
{ ... }
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
fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)[src]
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)
Provided methods
fn name() -> Option<&'static str> where
Self: Sized, [src]
Self: Sized,
fn before() -> Vec<SystemId> where
Self: Sized, [src]
Self: Sized,
fn after() -> Vec<SystemId> where
Self: Sized, [src]
Self: Sized,
fn updates() -> Vec<TypeId> where
Self: Sized, [src]
Self: Sized,
fn needs() -> Vec<TypeId> where
Self: Sized, [src]
Self: Sized,
fn reads() -> Vec<TypeId> where
Self: Sized, [src]
Self: Sized,
fn writes() -> Vec<TypeId> where
Self: Sized, [src]
Self: Sized,
fn file_line_info(&self) -> &'static str[src]
Implementors
impl<'a, F: FnMut(EntitiesDebug<'_>, ResourcesThreadLocal<'_>)> SystemDebug for F[src]
impl<'a, F: FnMut(EntitiesDebug<'_>, ResourcesThreadLocal<'_>)> SystemDebug for F[src]fn run(
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)[src]
&mut self,
entities: EntitiesDebug<'_>,
resources: ResourcesThreadLocal<'_>
)