Crate sgf_parse[−][src]
Data structures and utilities for parsing SGF FF[4] files.
For reading SGFs your starting point will be the parse function which will
return a Vector of SgfNode structs.
For writing SGFs you'll want to build a collection of SgfNode structs, and then use
serialize. See SgfNodeBuilder and SgfNode::to_builder.
Structs
| Point | An SGF Point value for the Game of Go. |
| SgfNode | A node in an SGF Game Tree. |
| SgfNodeBuilder | A builder for |
| SimpleText | An SGF SimpleText value. |
| Text | An SGF Text value. |
Enums
| Color | An SGF Color value. |
| Double | An SGF Double value. |
| Move | An SGF Move value for the Game of Go. |
| PropertyType | An SGF Property Type. |
| SgfParseError | Error type for all sgf parsing errors. |
| SgfProp | An SGF Property with identifier and value. |
Functions
| parse | Returns a Vector of the root |
| serialize | Returns the SGF as a |