pub struct PlayerPresentationInput {
pub harvesting: bool,
pub crafting: bool,
pub talking: bool,
pub chatting: bool,
pub in_combat: bool,
pub pursue: bool,
pub in_attack_range: bool,
pub is_moving: bool,
pub sprinting: bool,
pub telegraph_active: bool,
}Expand description
Inputs for player presentation (keeps this crate free of sim types).
Fields§
§harvesting: bool§crafting: bool§talking: bool§chatting: bool§in_combat: bool§pursue: bool§in_attack_range: bool§is_moving: bool§sprinting: bool§telegraph_active: boolTrait Implementations§
Source§impl Clone for PlayerPresentationInput
impl Clone for PlayerPresentationInput
Source§fn clone(&self) -> PlayerPresentationInput
fn clone(&self) -> PlayerPresentationInput
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 Copy for PlayerPresentationInput
Auto Trait Implementations§
impl Freeze for PlayerPresentationInput
impl RefUnwindSafe for PlayerPresentationInput
impl Send for PlayerPresentationInput
impl Sync for PlayerPresentationInput
impl Unpin for PlayerPresentationInput
impl UnsafeUnpin for PlayerPresentationInput
impl UnwindSafe for PlayerPresentationInput
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