Trait rin::ecs::SystemOnce[][src]

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

    pub fn checks(
        &mut StorageRegistry
    ) -> Option<SystemConditionElse<SystemOnceRunner>> { ... }
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 will run only once 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 FnOnce 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(self, entities: Entities<'_>, resources: Resources<'_>)[src]

Loading content...

Provided methods

pub fn checks(
    &mut StorageRegistry
) -> Option<SystemConditionElse<SystemOnceRunner>>
[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...

Implementors

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

Loading content...