pub fn claim_components<T: Component>(&mut self) -> ComponentWriter<'a, T> {
        let type_id = ComponentTypeId::of::<T>();
        self.mark_claimed(type_id);

        ComponentWriter {
            components: unsafe { self.components.claim::<T>() }.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<T: Component>(&mut self) -> ComponentWriter<'a, T> {
        let type_id = ComponentTypeId::of::<T>();
        self.mark_claimed(type_id);
        ComponentWriter {
            components: unsafe { self.components.claim::<T>() }.unwrap(),
            archetype: self.arch_index,
        }
    }
pub fn claim_components < T : Component > ( & mut self ) -> ComponentWriter < ' a , T > { let type_id = ComponentTypeId :: of :: < T > ( ) ; self . mark_claimed ( type_id ) ; ComponentWriter { components : unsafe { self . components . claim :: < T > ( ) } . unwrap ( ) , archetype : self . arch_index , } }
Claims a component storage for a given component.
Claims a component storage for a given component .
&mut self
&mut self
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 .