pub struct EntityStateBuilder(/* private fields */);Implementations§
Source§impl EntityStateBuilder
impl EntityStateBuilder
pub fn new() -> Self
pub fn new_from_body(body: EntityState) -> Self
pub fn build(self) -> EntityState
pub fn with_entity_id(self, entity_id: EntityId) -> Self
pub fn with_entity_type(self, entity_type: EntityType) -> Self
pub fn with_force_id(self, force_id: ForceId) -> Self
pub fn with_alternative_entity_type(self, entity_type: EntityType) -> Self
pub fn with_velocity(self, velocity: VectorF32) -> Self
pub fn with_location(self, location: Location) -> Self
pub fn with_orientation(self, orientation: Orientation) -> Self
pub fn with_appearance(self, appearance: EntityAppearance) -> Self
pub fn with_dead_reckoning_parameters(self, parameters: DrParameters) -> Self
pub fn with_marking(self, marking: EntityMarking) -> Self
pub fn with_capabilities(self, capabilities: EntityCapabilities) -> Self
pub fn with_capabilities_flags( self, ammunition_supply: bool, fuel_supply: bool, recovery: bool, repair: bool, ) -> Self
pub fn with_variable_parameter(self, parameter: VariableParameter) -> Self
pub fn with_variable_parameters( self, parameters: Vec<VariableParameter>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntityStateBuilder
impl RefUnwindSafe for EntityStateBuilder
impl Send for EntityStateBuilder
impl Sync for EntityStateBuilder
impl Unpin for EntityStateBuilder
impl UnwindSafe for EntityStateBuilder
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