pub enum TokenType {
Show 45 variants
Unknown,
Application,
Comment,
Copyright,
BlackName,
WhiteName,
BlackTeam,
WhiteTeam,
BoardSize,
Variation,
FileFormat,
GameType,
Charset,
VariationShown,
WhoseTurn,
BlackStones,
WhiteStones,
BlackMove,
WhiteMove,
BlackPlayerRank,
WhitePlayerRank,
Source,
GameName,
NodeName,
Rule,
Komi,
PersonWhoProvidesAnnotations,
DrawArrow,
DrawCircle,
DrawSquare,
DrawTriangle,
GreyOut,
MarkX,
Handicap,
Result,
Figure,
Printing,
TimeLimit,
Date,
Event,
PointText,
Round,
SGFCreator,
ViewOnly,
MoveNumber,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Unknown
Application
Property: AP
Comment
Property: C
Copyright
Property: CP
BlackName
Property: PB
WhiteName
Property: PW
BlackTeam
Property: BT
WhiteTeam
Property: WT
BoardSize
Property: SZ
Variation
Variation
FileFormat
Property: FF
GameType
Property: GM
Charset
Property: CA
VariationShown
Property: ST
WhoseTurn
Property: PL
BlackStones
Property: AB
WhiteStones
Property: AW
BlackMove
Property: B
WhiteMove
Property: W
BlackPlayerRank
Property: BR
WhitePlayerRank
Property: WR
Source
Property: SO
GameName
Property: GN
NodeName
Property: N
Rule
Property: RU
Komi
Property: KM
PersonWhoProvidesAnnotations
Property: AN
DrawArrow
Property: AR
DrawCircle
Property: CR
DrawSquare
Property: SQ
DrawTriangle
Property: TR
GreyOut
Property: DD
MarkX
Property: MA
Handicap
Property: HA
Result
Property: RE
Figure
Property: FG
Printing
Property: PM
TimeLimit
Property: TM
Date
Property: DT
Event
Property: AV
PointText
Property: LB
Round
Property: RO
SGFCreator
Property: US
ViewOnly
Property: VW
MoveNumber
Property: MN
Trait Implementations§
impl Copy for TokenType
impl Eq for TokenType
impl StructuralPartialEq for TokenType
Auto Trait Implementations§
impl Freeze for TokenType
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnwindSafe for TokenType
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