pub enum RuleSet {
Japanese,
NZ,
GOE,
AGA,
Chinese,
Unknown(String),
}
Expand description
Provides the used rules for this game. Because there are many different rules, SGF requires mandatory names only for a small set of well known rule sets. Note: it’s beyond the scope of this specification to give an exact specification of these rule sets. Mandatory names for Go (GM[1]): “AGA” (rules of the American Go Association) “GOE” (the Ing rules of Goe) “Japanese” (the Nihon-Kiin rule set) “NZ” (New Zealand rules)
Variants§
Trait Implementations§
impl Eq for RuleSet
impl StructuralPartialEq for RuleSet
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