pub struct FireBuilder(/* private fields */);Implementations§
Source§impl FireBuilder
 
impl FireBuilder
pub fn new() -> Self
pub fn new_from_body(body: Fire) -> Self
pub fn build(self) -> Fire
pub fn with_firing_entity_id(self, firing_entity_id: EntityId) -> Self
pub fn with_target_entity_id(self, target_entity_id: EntityId) -> Self
pub fn with_entity_id(self, entity_id: EntityId) -> Self
pub fn with_event_id(self, event_id: EventId) -> Self
pub fn with_fire_mission_index(self, fire_mission_index: u32) -> Self
pub fn with_location_in_world(self, location_in_world: Location) -> Self
pub fn with_descriptor(self, descriptor: DescriptorRecord) -> Self
pub fn with_munition_descriptor( self, entity_type: EntityType, munition: MunitionDescriptor, ) -> Self
pub fn with_expendable_descriptor(self, entity_type: EntityType) -> Self
pub fn with_velocity(self, velocity: VectorF32) -> Self
pub fn with_range(self, range: f32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FireBuilder
impl RefUnwindSafe for FireBuilder
impl Send for FireBuilder
impl Sync for FireBuilder
impl Unpin for FireBuilder
impl UnwindSafe for FireBuilder
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