Trait rin::ecs::SystemOnceThreadLocal[][src]

pub trait SystemOnceThreadLocal {
    pub fn run(
        self,
        entities: EntitiesThreadLocal<'_>,
        resources: ResourcesThreadLocal<'_>
    ); pub fn checks(
        &mut StorageRegistry
    ) -> Option<SystemConditionElse<SystemOnceThreadLocalRunner>> { ... }
pub fn name() -> Option<&'static str> { ... }
pub fn runs_on_gpu() -> bool { ... }
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 the main thread but parallel with Send 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: EntitiesThreadLocal<'_>,
    resources: ResourcesThreadLocal<'_>
)
[src]

Loading content...

Provided methods

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

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

pub fn runs_on_gpu() -> bool[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> SystemOnceThreadLocal for F where
    F: FnOnce(EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>) + Send
[src]

Loading content...