Trait ABC_ECS::ComponentsMut
source · pub trait ComponentsMut<'a> {
type Result;
// Required method
fn get_components_mut(
entities_and_components: &'a mut EntitiesAndComponents,
entity: Entity
) -> Self::Result;
}Expand description
This trait is used to get a tuple of mutable references to components it is automatically implemented for tuples of components
Required Associated Types§
Required Methods§
sourcefn get_components_mut(
entities_and_components: &'a mut EntitiesAndComponents,
entity: Entity
) -> Self::Result
fn get_components_mut( entities_and_components: &'a mut EntitiesAndComponents, entity: Entity ) -> Self::Result
Returns a tuple of mutable references to the components
Object Safety§
This trait is not object safe.