Lines Matching refs:EntityList
68 pub struct EntityList<T: EntityRef + ReservedValue> { struct
74 impl<T: EntityRef + ReservedValue> Default for EntityList<T> { implementation
177 fn len_of(&self, list: &EntityList<T>) -> Option<usize> { in len_of()
270 impl<T: EntityRef + ReservedValue> EntityList<T> { impl
697 let mut list = EntityList::<Inst>::default(); in empty_list()
721 let list = EntityList::<Inst>::from_slice(&[Inst(0), Inst(1)], pool); in from_slice()
728 let list = EntityList::<Inst>::from_slice(&[], pool); in from_slice()
739 let mut list = EntityList::<Inst>::default(); in push()
792 let list2 = EntityList::from_iter([i1, i1, i2, i2, i3, i3, i4, i4].iter().cloned(), pool); in push()
800 let mut list = EntityList::<Inst>::default(); in insert_remove()
836 let mut list = EntityList::<Inst>::default(); in growing()
879 let mut list1 = EntityList::from_slice(&[i1, i2, i3], pool); in deep_clone()
898 let mut list = EntityList::from_slice(&[i1, i2, i3, i4, i1, i2, i3, i4], pool); in truncate()
919 let mut list = EntityList::from_slice(&[i1, i2, i3, i4], pool); in copy_from()
921 let list2 = EntityList::from_slice(&[i4, i3, i2, i1], pool); in copy_from()
939 let mut list = EntityList::from_slice(&[i4, i3, i2, i1, i1, i2, i3, i4], pool); in copy_from_self()