pub struct WildlifeNpcPresentationInput<'a> {
pub fsm_state: &'a str,
pub telegraph_active: bool,
pub has_target: bool,
pub in_attack_range: bool,
pub is_moving: bool,
pub fast_movement: bool,
}Expand description
Inputs for wildlife / combat-driven NPCs (keeps this crate free of sim types).
Fields§
§fsm_state: &'a str§telegraph_active: bool§has_target: bool§in_attack_range: bool§is_moving: bool§fast_movement: boolTrait Implementations§
Source§impl<'a> Clone for WildlifeNpcPresentationInput<'a>
impl<'a> Clone for WildlifeNpcPresentationInput<'a>
Source§fn clone(&self) -> WildlifeNpcPresentationInput<'a>
fn clone(&self) -> WildlifeNpcPresentationInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for WildlifeNpcPresentationInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for WildlifeNpcPresentationInput<'a>
impl<'a> RefUnwindSafe for WildlifeNpcPresentationInput<'a>
impl<'a> Send for WildlifeNpcPresentationInput<'a>
impl<'a> Sync for WildlifeNpcPresentationInput<'a>
impl<'a> Unpin for WildlifeNpcPresentationInput<'a>
impl<'a> UnsafeUnpin for WildlifeNpcPresentationInput<'a>
impl<'a> UnwindSafe for WildlifeNpcPresentationInput<'a>
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