[−][src]Trait shakmaty::FromSetup
Validate and set up an arbitrary position. All provided chess variants support this.
Validate and set up an arbitrary position. All provided chess variants support this.
fn from_setup(setup: &dyn Setup) -> Result<Self, PositionError>
impl FromSetup for Chess
[src]fn from_setup(setup: &dyn Setup) -> Result<Chess, PositionError>
[src]impl FromSetup for Atomic
[src]fn from_setup(setup: &dyn Setup) -> Result<Atomic, PositionError>
[src]impl FromSetup for Crazyhouse
[src]fn from_setup(setup: &dyn Setup) -> Result<Crazyhouse, PositionError>
[src]impl FromSetup for Giveaway
[src]fn from_setup(setup: &dyn Setup) -> Result<Giveaway, PositionError>
[src]impl FromSetup for Horde
[src]fn from_setup(setup: &dyn Setup) -> Result<Horde, PositionError>
[src]impl FromSetup for KingOfTheHill
[src]fn from_setup(setup: &dyn Setup) -> Result<KingOfTheHill, PositionError>
[src]impl FromSetup for RacingKings
[src]fn from_setup(setup: &dyn Setup) -> Result<RacingKings, PositionError>
[src]impl FromSetup for ThreeCheck
[src]fn from_setup(setup: &dyn Setup) -> Result<ThreeCheck, PositionError>
[src]