pub struct ComponentArchetype {
pub component_id: ComponentId,
pub entity_ids: Vec<EntityId>,
pub data: ComponentData,
}Fields§
§component_id: ComponentId§entity_ids: Vec<EntityId>§data: ComponentDataTrait Implementations§
Source§impl Clone for ComponentArchetype
impl Clone for ComponentArchetype
Source§fn clone(&self) -> ComponentArchetype
fn clone(&self) -> ComponentArchetype
Returns a duplicate 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 Debug for ComponentArchetype
impl Debug for ComponentArchetype
Source§impl<'de> Deserialize<'de> for ComponentArchetype
impl<'de> Deserialize<'de> for ComponentArchetype
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ComponentArchetype
impl RefUnwindSafe for ComponentArchetype
impl Send for ComponentArchetype
impl Sync for ComponentArchetype
impl Unpin for ComponentArchetype
impl UnwindSafe for ComponentArchetype
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