pub enum Tab {
Default,
Political,
Terrain,
Trade,
Diplomacy,
}Expand description
The tab of the minimap’s list where the mode’s button goes, named by the game’s modes it starts with. The buttons of the tabs stand two by two: political and diplomacy above, trade and terrain below.
Variants§
Default
anvil-map’s choice: Tab::Diplomacy.
Political
Tab 1, from the political mode.
Terrain
Tab 2, from the terrain mode.
Trade
Tab 3, from the trade mode.
Diplomacy
Tab 4, from the diplomacy mode.
Trait Implementations§
impl Copy for Tab
impl Eq for Tab
impl StructuralPartialEq for Tab
Auto Trait Implementations§
impl Forget for Tab
impl Freeze for Tab
impl Move for Tab
impl RefUnwindSafe for Tab
impl Send for Tab
impl Sync for Tab
impl Unpin for Tab
impl UnsafeUnpin for Tab
impl UnwindSafe for Tab
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