Struct game_kernel_ecs::ecs::AddEntity[][src]

pub struct AddEntity<W: DerefMut<Target = World>> {
    pub entity: EntitId,
    // some fields omitted
}

Fields

entity: EntitId

Implementations

impl<W: DerefMut<Target = World>> AddEntity<W>[src]

pub fn new(mut world: W, parent: Option<EntitId>) -> Result<Self, String>[src]

pub fn with_component<T: Component>(mut self: Self, component: T) -> Self[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for AddEntity<W> where
    W: RefUnwindSafe
[src]

impl<W> Send for AddEntity<W> where
    W: Send
[src]

impl<W> Sync for AddEntity<W> where
    W: Sync
[src]

impl<W> Unpin for AddEntity<W> where
    W: Unpin
[src]

impl<W> UnwindSafe for AddEntity<W> where
    W: UnwindSafe
[src]

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> Erased for T

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.