pub fn claim_components_unknown(
        &mut self,
        type_id: ComponentTypeId,
    ) -> UnknownComponentWriter<'a> {
        self.mark_claimed(type_id);

        UnknownComponentWriter {
            components: unsafe { self.components.claim_unknown(type_id) }.unwrap(),
            archetype: self.arch_index,
        }
    }
/// Claims a component storage for a given component.
///
/// # Panics
/// Panics if the storage for the requested component type has already been claimed
/// or does not exist in the archetype.
Claims a component storage for a given component.
Claims a component storage for a given component .
pub fn claim_components_unknown(
        &mut self,
        type_id: ComponentTypeId,
    ) -> UnknownComponentWriter<'a> {
        self.mark_claimed(type_id);
        UnknownComponentWriter {
            components: unsafe { self.components.claim_unknown(type_id) }.unwrap(),
            archetype: self.arch_index,
        }
    }
pub fn claim_components_unknown ( & mut self , type_id : ComponentTypeId , ) -> UnknownComponentWriter < ' a > { self . mark_claimed ( type_id ) ; UnknownComponentWriter { components : unsafe { self . components . claim_unknown ( type_id ) } . unwrap ( ) , archetype : self . arch_index , } }
Claims a component storage for a given component.
Claims a component storage for a given component .
&mut self
type_id
ComponentTypeId
&mut self
type_id
ComponentTypeId
panics
Panics if the storage for the requested component type has already been claimed
or does not exist in the archetype.
Panics if the storage for the requested component type has already been claimed or does not exist in the archetype .