pub fn add(&mut self, element: ComponentTypeId) {
        assert!(
            !self.components.contains(&element),
            "groups must contain unique components"
        );
        self.components.push(element);
    }
/// Adds a new component to the end of the group.
Adds a new component to the end of the group.
Adds a new component to the end of the group .
pub fn add(&mut self, element: ComponentTypeId) {
        assert!(
            !self.components.contains(&element),
            "groups must contain unique components"
        );
        self.components.push(element);
    }
pub fn add ( & mut self , element : ComponentTypeId ) { assert ! ( self components contains ( element ) " " ) ; self . components . push ( element ) ; }
Adds a new component to the end of the group.
Adds a new component to the end of the group .
&mut self
element
ComponentTypeId
&mut self
element
ComponentTypeId