Trait rin::ecs::System[][src]

pub trait System: Send {
    pub fn run(&mut self, entities: Entities<'_>, resources: Resources<'_>);

    pub fn checks(
        &mut StorageRegistry
    ) -> Option<SystemConditionElse<SyncSystem>> { ... }
pub fn name() -> Option<&'static str> { ... }
pub fn before() -> Vec<SystemId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn after() -> Vec<SystemId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn updates() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn needs() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn reads() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn writes() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... }
pub fn file_line_info(&self) -> &'static str { ... } }

Trait for systems that can run from any thread in parallel with other systems.

Types implementing this trait must be Send and are usually called Send System in the documentation.

Any function that receives an Entities and a Resources parameter in that order can be added as a System to the world.

Required methods

pub fn run(&mut self, entities: Entities<'_>, resources: Resources<'_>)[src]

Loading content...

Provided methods

pub fn checks(&mut StorageRegistry) -> Option<SystemConditionElse<SyncSystem>>[src]

pub fn name() -> Option<&'static str>[src]

pub fn before() -> Vec<SystemId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn after() -> Vec<SystemId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn updates() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn needs() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn reads() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn writes() -> Vec<TypeId, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

pub fn file_line_info(&self) -> &'static str[src]

Loading content...

Implementations on Foreign Types

impl<D, S> System for (S, D) where
    D: 'static + Send,
    S: SystemWithData<D> + Send
[src]

Loading content...

Implementors

impl System for SkeletonGeometryUpdater[src]

impl System for bone_updater[src]

impl System for feet_updater[src]

impl System for skeleton_cache_updater[src]

impl System for skeleton_changed_reseter[src]

impl System for update_all[src]

impl System for update_dynamic[src]

impl System for update_static[src]

impl System for path_follower[src]

impl System for check_lights_changed_system[src]

impl System for all_shadows_geometry_sort[src]

impl System for dynamic_shadows_geometry_sort[src]

impl System for geometry_sort[src]

impl System for geometryref_changed_updater[src]

impl System for static_shadows_geometry_sort[src]

impl System for update_materialrefs_changed[src]

impl System for update_visible_changed[src]

impl System for CameraUpdater[src]

impl<F> System for F where
    F: FnMut(Entities<'_>, Resources<'_>) + Send
[src]

impl<V> System for geometry_changed_updater<V> where
    V: Clone + Send + 'static, 
[src]

Loading content...