pub struct WalkSpeeds {
pub normal: f32,
pub fast: f32,
pub held: f32,
}Expand description
How fast a unit’s walk is shown, in tiles per second: how long the player watches a move, never what the move does. A skin’s setting.
Fields§
§normal: f32As a rule.
fast: f32With the player’s fast animations on.
held: f32While the player holds a key to hurry another side’s turn along.
Implementations§
Trait Implementations§
Source§impl Clone for WalkSpeeds
impl Clone for WalkSpeeds
Source§fn clone(&self) -> WalkSpeeds
fn clone(&self) -> WalkSpeeds
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 WalkSpeeds
Source§impl Debug for WalkSpeeds
impl Debug for WalkSpeeds
Source§impl PartialEq for WalkSpeeds
impl PartialEq for WalkSpeeds
impl StructuralPartialEq for WalkSpeeds
Auto Trait Implementations§
impl Freeze for WalkSpeeds
impl RefUnwindSafe for WalkSpeeds
impl Send for WalkSpeeds
impl Sync for WalkSpeeds
impl Unpin for WalkSpeeds
impl UnsafeUnpin for WalkSpeeds
impl UnwindSafe for WalkSpeeds
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