Struct oxygengine::prelude::EntityRemoveComponent
source · pub struct EntityRemoveComponent<C>where
C: Component,{
pub entity: Entity,
/* private fields */
}
Fields§
§entity: Entity
Implementations§
source§impl<C> EntityRemoveComponent<C>where
C: Component,
impl<C> EntityRemoveComponent<C>where C: Component,
pub fn new(entity: Entity) -> EntityRemoveComponent<C>
pub fn on_complete<F>(self, f: F) -> EntityRemoveComponent<C>where F: FnMut(&mut Universe, Entity) + Send + Sync + 'static,
Trait Implementations§
source§impl<C> UniverseCommand for EntityRemoveComponent<C>where
C: Component,
impl<C> UniverseCommand for EntityRemoveComponent<C>where C: Component,
Auto Trait Implementations§
impl<C> !RefUnwindSafe for EntityRemoveComponent<C>
impl<C> Send for EntityRemoveComponent<C>
impl<C> Sync for EntityRemoveComponent<C>
impl<C> Unpin for EntityRemoveComponent<C>
impl<C> !UnwindSafe for EntityRemoveComponent<C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more