pub struct TurnStructure {
pub priority_system: bool,
pub skip_first_turn_draw_for_first_player: bool,
pub phases: Vec<PhaseDef>,
}Fields§
§priority_system: bool§skip_first_turn_draw_for_first_player: bool§phases: Vec<PhaseDef>Trait Implementations§
Source§impl Clone for TurnStructure
impl Clone for TurnStructure
Source§fn clone(&self) -> TurnStructure
fn clone(&self) -> TurnStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TurnStructure
impl Debug for TurnStructure
Source§impl<'de> Deserialize<'de> for TurnStructure
impl<'de> Deserialize<'de> for TurnStructure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TurnStructure
impl RefUnwindSafe for TurnStructure
impl Send for TurnStructure
impl Sync for TurnStructure
impl Unpin for TurnStructure
impl UnwindSafe for TurnStructure
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