pub struct ComponentRemoved {
pub entity: EntityId,
pub component: ComponentId,
}Expand description
Payload emitted after a component removal commits.
Fields§
§entity: EntityIdEntity that lost the component.
component: ComponentIdRegistered component handle for the removed type.
Trait Implementations§
Source§impl Clone for ComponentRemoved
impl Clone for ComponentRemoved
Source§fn clone(&self) -> ComponentRemoved
fn clone(&self) -> ComponentRemoved
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentRemoved
impl Debug for ComponentRemoved
impl Eq for ComponentRemoved
Source§impl PartialEq for ComponentRemoved
impl PartialEq for ComponentRemoved
impl StructuralPartialEq for ComponentRemoved
Auto Trait Implementations§
impl Freeze for ComponentRemoved
impl RefUnwindSafe for ComponentRemoved
impl Send for ComponentRemoved
impl Sync for ComponentRemoved
impl Unpin for ComponentRemoved
impl UnsafeUnpin for ComponentRemoved
impl UnwindSafe for ComponentRemoved
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