Struct chessground::DrawShape [] [src]

pub struct DrawShape { /* fields omitted */ }

An arrow or circle drawn on the board.

Methods

impl DrawShape
[src]

[src]

First square.

[src]

Second square.

[src]

Shape color.

[src]

Check if the shape is a circle.

[src]

Check if the shape is an arrow.

Trait Implementations

impl Clone for DrawShape
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for DrawShape
[src]

impl PartialEq for DrawShape
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for DrawShape
[src]

[src]

Formats the value using the given formatter.