pub struct ComponentAdded {
pub entity: EntityId,
pub component: ComponentId,
}Expand description
Payload emitted after a component addition commits.
Fields§
§entity: EntityIdEntity that received the component.
component: ComponentIdRegistered component handle for the added type.
Trait Implementations§
Source§impl Clone for ComponentAdded
impl Clone for ComponentAdded
Source§fn clone(&self) -> ComponentAdded
fn clone(&self) -> ComponentAdded
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 ComponentAdded
impl Debug for ComponentAdded
impl Eq for ComponentAdded
Source§impl PartialEq for ComponentAdded
impl PartialEq for ComponentAdded
impl StructuralPartialEq for ComponentAdded
Auto Trait Implementations§
impl Freeze for ComponentAdded
impl RefUnwindSafe for ComponentAdded
impl Send for ComponentAdded
impl Sync for ComponentAdded
impl Unpin for ComponentAdded
impl UnsafeUnpin for ComponentAdded
impl UnwindSafe for ComponentAdded
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