pub struct RangeName(pub &'static str);Expand description
A kind of range a map shows (where a unit can move, what it can attack), by its name: the game’s own list, of which the engine knows nothing. A skin tints a range’s tiles with the palette’s color of that name, and the scene’s text marks a tile with its first letter.
Tuple Fields§
§0: &'static strImplementations§
Trait Implementations§
impl Copy for RangeName
impl Eq for RangeName
Source§impl Ord for RangeName
impl Ord for RangeName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RangeName
impl PartialOrd for RangeName
impl StructuralPartialEq for RangeName
Auto Trait Implementations§
impl Freeze for RangeName
impl RefUnwindSafe for RangeName
impl Send for RangeName
impl Sync for RangeName
impl Unpin for RangeName
impl UnsafeUnpin for RangeName
impl UnwindSafe for RangeName
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