pub struct PlayLocalState {
pub movement: MovementState,
pub map_target: MapTargetState,
pub auto_nav_goal: Option<(f32, f32)>,
pub chat: ChatSession,
pub hud_view: HudViewMode,
pub mouse_hover: Option<(f32, f32)>,
pub was_harvesting: bool,
}Fields§
§movement: MovementState§map_target: MapTargetState§chat: ChatSession§hud_view: HudViewMode§mouse_hover: Option<(f32, f32)>§was_harvesting: boolImplementations§
Source§impl PlayLocalState
impl PlayLocalState
pub fn new(keys: ClientKeyBindings) -> Self
pub fn cycle_hud_view(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlayLocalState
impl RefUnwindSafe for PlayLocalState
impl Send for PlayLocalState
impl Sync for PlayLocalState
impl Unpin for PlayLocalState
impl UnsafeUnpin for PlayLocalState
impl UnwindSafe for PlayLocalState
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