Struct legion::systems::System[][src]

pub struct System<R, Q, F> { /* fields omitted */ }

The concrete type which contains the system closure provided by the user. This struct should not be constructed directly, and instead should be created using SystemBuilder.

Implements Schedulable which is consumable by the StageExecutor, executing the closure.

Also handles caching of archetype information, as well as maintaining the provided information about what queries this system will run and, as a result, its data access.

Trait Implementations

impl<R, Q, F> Runnable for System<R, Q, F> where
    R: for<'a> ResourceSet<'a>,
    Q: QuerySet,
    F: SystemFn<R, Q>, 
[src]

Auto Trait Implementations

impl<R, Q, F> !RefUnwindSafe for System<R, Q, F>

impl<R, Q, F> Send for System<R, Q, F> where
    F: Send,
    Q: Send,
    R: Send

impl<R, Q, F> Sync for System<R, Q, F> where
    F: Sync,
    Q: Sync,
    R: Sync

impl<R, Q, F> Unpin for System<R, Q, F> where
    F: Unpin,
    Q: Unpin

impl<R, Q, F> !UnwindSafe for System<R, Q, F>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.