pub struct Ruleset {
pub game: GameInfo,
pub players: PlayerRules,
pub zones: Vec<ZoneDef>,
pub resources: Vec<ResourceDef>,
pub turn: TurnStructure,
pub actions: Vec<ActionDef>,
pub stack: StackRules,
pub trigger_kinds: Vec<TriggerKind>,
pub keywords: Vec<Keyword>,
pub win_conditions: Vec<WinCondition>,
pub loss_conditions: Vec<LossCondition>,
pub cards: Vec<CardDef>,
}Fields§
§game: GameInfo§players: PlayerRules§zones: Vec<ZoneDef>§resources: Vec<ResourceDef>§turn: TurnStructure§actions: Vec<ActionDef>§stack: StackRules§trigger_kinds: Vec<TriggerKind>§keywords: Vec<Keyword>§win_conditions: Vec<WinCondition>§loss_conditions: Vec<LossCondition>§cards: Vec<CardDef>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ruleset
impl<'de> Deserialize<'de> for Ruleset
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 Ruleset
impl RefUnwindSafe for Ruleset
impl Send for Ruleset
impl Sync for Ruleset
impl Unpin for Ruleset
impl UnwindSafe for Ruleset
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