pub fn from_vec(components: Vec<ComponentTypeId>) -> Self {
        for (i, component) in components.iter().enumerate() {
            assert!(
                !components[(i + 1)..].contains(component),
                "groups must contain unique components"
            );
        }
        Self { components }
    }
/// Constructs a new component group from a vector of component type IDs.
Constructs a new component group from a vector of component type IDs.
Constructs a new component group from a vector of component type IDs .
pub fn from_vec(components: Vec<ComponentTypeId>) -> Self {
        for (i, component) in components.iter().enumerate() {
            assert!(
                !components[(i + 1)..].contains(component),
                "groups must contain unique components"
            );
        }
        Self { components }
    }
pub fn from_vec ( components : Vec < ComponentTypeId > ) -> Self { for ( i , component ) in components . iter ( ) . enumerate ( ) { assert ! ( components [ ( i 1 ) ] contains ( component ) " " ) ; } Self { components } }
Constructs a new component group from a vector of component type IDs.
Constructs a new component group from a vector of component type IDs .
components
Vec<ComponentTypeId>
components
Vec<ComponentTypeId>