pub struct AggregateStateBuilder(/* private fields */);Implementations§
Source§impl AggregateStateBuilder
impl AggregateStateBuilder
pub fn new() -> Self
pub fn new_from_body(body: AggregateState) -> Self
pub fn build(self) -> AggregateState
pub fn with_aggregate_id(self, aggregate_id: EntityId) -> Self
pub fn with_force_id(self, force_id: ForceId) -> Self
pub fn with_aggregate_state( self, aggregate_state: AggregateStateAggregateState, ) -> Self
pub fn with_aggregate_type(self, aggregate_type: AggregateType) -> Self
pub fn with_formation(self, formation: AggregateStateFormation) -> Self
pub fn with_aggregate_marking(self, aggregate_marking: AggregateMarking) -> Self
pub fn with_dimensions(self, dimensions: VectorF32) -> Self
pub fn with_orientation(self, orientation: Orientation) -> Self
pub fn with_center_of_mass(self, center_of_mass: Location) -> Self
pub fn with_velocity(self, velocity: VectorF32) -> Self
pub fn with_aggregate(self, aggregate: EntityId) -> Self
pub fn with_aggregates(self, aggregates: Vec<EntityId>) -> Self
pub fn with_entity(self, entity: EntityId) -> Self
pub fn with_entities(self, entities: Vec<EntityId>) -> Self
pub fn with_silent_aggregate_system( self, silent_aggregate_system: SilentAggregateSystem, ) -> Self
pub fn with_silent_aggregate_systems( self, silent_aggregate_systems: Vec<SilentAggregateSystem>, ) -> Self
pub fn with_silent_entity_system( self, silent_entity_system: SilentEntitySystem, ) -> Self
pub fn with_silent_entity_systems( self, silent_entity_systems: Vec<SilentEntitySystem>, ) -> Self
pub fn with_variable_datum(self, variable_datum: VariableDatum) -> Self
pub fn with_variable_datums(self, variable_datums: Vec<VariableDatum>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AggregateStateBuilder
impl RefUnwindSafe for AggregateStateBuilder
impl Send for AggregateStateBuilder
impl Sync for AggregateStateBuilder
impl Unpin for AggregateStateBuilder
impl UnwindSafe for AggregateStateBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more