pub struct CurriculumConfig {Show 36 fields
pub allowed_card_sets: Vec<String>,
pub allow_character: bool,
pub allow_event: bool,
pub allow_climax: bool,
pub enable_clock_phase: bool,
pub enable_climax_phase: bool,
pub enable_side_attacks: bool,
pub enable_direct_attacks: bool,
pub enable_counters: bool,
pub enable_triggers: bool,
pub enable_trigger_soul: bool,
pub enable_trigger_draw: bool,
pub enable_trigger_shot: bool,
pub enable_trigger_bounce: bool,
pub enable_trigger_treasure: bool,
pub enable_trigger_gate: bool,
pub enable_trigger_standby: bool,
pub enable_on_reverse_triggers: bool,
pub enable_backup: bool,
pub enable_encore: bool,
pub enable_refresh_penalty: bool,
pub enable_level_up_choice: bool,
pub enable_activated_abilities: bool,
pub enable_continuous_modifiers: bool,
pub enable_priority_windows: bool,
pub enable_visibility_policies: bool,
pub use_alternate_end_conditions: bool,
pub priority_autopick_single_action: bool,
pub priority_allow_pass: bool,
pub strict_priority_mode: bool,
pub reduced_stage_mode: bool,
pub enforce_color_requirement: bool,
pub enforce_cost_requirement: bool,
pub allow_concede: bool,
pub memory_is_public: bool,
pub allowed_card_sets_cache: Option<HashSet<String>>,
}Fields§
§allowed_card_sets: Vec<String>§allow_character: bool§allow_event: bool§allow_climax: bool§enable_clock_phase: bool§enable_climax_phase: bool§enable_side_attacks: bool§enable_direct_attacks: bool§enable_counters: bool§enable_triggers: bool§enable_trigger_soul: bool§enable_trigger_draw: bool§enable_trigger_shot: bool§enable_trigger_bounce: bool§enable_trigger_treasure: bool§enable_trigger_gate: bool§enable_trigger_standby: bool§enable_on_reverse_triggers: bool§enable_backup: bool§enable_encore: bool§enable_refresh_penalty: bool§enable_level_up_choice: bool§enable_activated_abilities: bool§enable_continuous_modifiers: bool§enable_priority_windows: bool§enable_visibility_policies: bool§use_alternate_end_conditions: bool§priority_autopick_single_action: bool§priority_allow_pass: bool§strict_priority_mode: bool§reduced_stage_mode: bool§enforce_color_requirement: bool§enforce_cost_requirement: bool§allow_concede: bool§memory_is_public: bool§allowed_card_sets_cache: Option<HashSet<String>>Implementations§
Source§impl CurriculumConfig
impl CurriculumConfig
pub fn rebuild_cache(&mut self)
Trait Implementations§
Source§impl Clone for CurriculumConfig
impl Clone for CurriculumConfig
Source§fn clone(&self) -> CurriculumConfig
fn clone(&self) -> CurriculumConfig
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 CurriculumConfig
impl Debug for CurriculumConfig
Source§impl Default for CurriculumConfig
impl Default for CurriculumConfig
Source§impl<'de> Deserialize<'de> for CurriculumConfig
impl<'de> Deserialize<'de> for CurriculumConfig
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 CurriculumConfig
impl RefUnwindSafe for CurriculumConfig
impl Send for CurriculumConfig
impl Sync for CurriculumConfig
impl Unpin for CurriculumConfig
impl UnwindSafe for CurriculumConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more