pub fn insert(self, component: T) -> AccessMutReturn<'a, T> {
        self.storage.data.mask.add(self.id);
        // SAFETY: This is safe since we added `self.id` to the mask.
        unsafe {
            self.storage.data.inner.insert(self.id, component);
            self.storage.data.inner.get_mut(self.id)
        }
    }
/// Inserts a value into the storage.
Inserts a value into the storage.
Inserts a value into the storage .
pub fn insert(self, component: T) -> AccessMutReturn<'a, T> {
        self.storage.data.mask.add(self.id);
        // SAFETY: This is safe since we added `self.id` to the mask.
        unsafe {
            self.storage.data.inner.insert(self.id, component);
            self.storage.data.inner.get_mut(self.id)
        }
    }
pub fn insert ( self , component : T ) -> AccessMutReturn < ' a , T > { self . storage . data . mask . add ( self . id ) ; // SAFETY: This is safe since we added `self.id` to the mask. unsafe { self . storage . data . inner . insert ( self . id , component ) ; self . storage . data . inner . get_mut ( self . id ) } }
Inserts a value into the storage.
Inserts a value into the storage .
self
component
T