[][src]Struct dces::system::EntitySystem

pub struct EntitySystem<E, C, Ctx> {
    pub system: Box<dyn System<E, C, Ctx>>,
    // some fields omitted
}

Internal wrapper for a system. Contains also filter, priority, sort and entities.

Fields

system: Box<dyn System<E, C, Ctx>>

The wrapped system.

Implementations

impl<E, C, Ctx> EntitySystem<E, C, Ctx>[src]

pub fn new(system: Box<dyn System<E, C, Ctx>>) -> Self[src]

Create a new entity system.

Auto Trait Implementations

impl<E, C, Ctx> !RefUnwindSafe for EntitySystem<E, C, Ctx>

impl<E, C, Ctx> !Send for EntitySystem<E, C, Ctx>

impl<E, C, Ctx> !Sync for EntitySystem<E, C, Ctx>

impl<E, C, Ctx> Unpin for EntitySystem<E, C, Ctx>

impl<E, C, Ctx> !UnwindSafe for EntitySystem<E, C, Ctx>

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<E> Component for E where
    E: Any
[src]

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

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

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.