Struct chessground::DrawShape []

pub struct DrawShape { /* fields omitted */ }

An arrow or circle drawn on the board.

Methods

impl DrawShape
[src]

First square.

Second square.

Shape color.

Check if the shape is a circle.

Check if the shape is an arrow.

Trait Implementations

impl Clone for DrawShape
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for DrawShape
[src]

impl PartialEq for DrawShape
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for DrawShape
[src]

Formats the value using the given formatter.