pub struct Stpsyr {
pub map: Vec<MapRegion>,
pub orders: Vec<Order>,
pub retreats: Vec<Retreat>,
pub adjusts: Vec<Adjust>,
pub dependencies: Vec<usize>,
pub dislodged: Vec<(Province, Unit)>,
pub contested: HashSet<Province>,
pub phase: Phase,
pub year: i32,
}Fields§
§map: Vec<MapRegion>§orders: Vec<Order>§retreats: Vec<Retreat>§adjusts: Vec<Adjust>§dependencies: Vec<usize>§dislodged: Vec<(Province, Unit)>§contested: HashSet<Province>§phase: Phase§year: i32Implementations§
Source§impl Stpsyr
impl Stpsyr
pub fn add_adjust( &mut self, owner: Power, province: Province, action: AdjustAction, )
pub fn apply_adjusts(&mut self)
Source§impl Stpsyr
impl Stpsyr
pub fn add_retreat( &mut self, owner: Power, province: Province, action: RetreatAction, )
pub fn apply_retreats(&mut self)
Auto Trait Implementations§
impl Freeze for Stpsyr
impl RefUnwindSafe for Stpsyr
impl Send for Stpsyr
impl Sync for Stpsyr
impl Unpin for Stpsyr
impl UnwindSafe for Stpsyr
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