pub struct RemovedComponentEntity(/* private fields */);
Expand description
Wrapper around Entity
for RemovedComponents
.
Internally, RemovedComponents
uses these as an Events<RemovedComponentEntity>
.
Trait Implementations§
Source§impl Clone for RemovedComponentEntity
impl Clone for RemovedComponentEntity
Source§fn clone(&self) -> RemovedComponentEntity
fn clone(&self) -> RemovedComponentEntity
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Component for RemovedComponentEntity
impl Component for RemovedComponentEntity
Source§const STORAGE_TYPE: StorageType = bevy_ecs::component::StorageType::SparseSet
const STORAGE_TYPE: StorageType = bevy_ecs::component::StorageType::SparseSet
A constant indicating the storage type used for this component.
Source§fn register_component_hooks(_hooks: &mut ComponentHooks)
fn register_component_hooks(_hooks: &mut ComponentHooks)
Called when registering this component, allowing mutable access to its
ComponentHooks
.Source§impl Debug for RemovedComponentEntity
impl Debug for RemovedComponentEntity
Source§impl From<RemovedComponentEntity> for Entity
impl From<RemovedComponentEntity> for Entity
Source§fn from(value: RemovedComponentEntity) -> Self
fn from(value: RemovedComponentEntity) -> Self
Converts to this type from the input type.
impl Event for RemovedComponentEntity
Auto Trait Implementations§
impl Freeze for RemovedComponentEntity
impl RefUnwindSafe for RemovedComponentEntity
impl Send for RemovedComponentEntity
impl Sync for RemovedComponentEntity
impl Unpin for RemovedComponentEntity
impl UnwindSafe for RemovedComponentEntity
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