Struct chessground::Ground [] [src]

pub struct Ground { /* fields omitted */ }

Chessground, a chess board widget.

Trait Implementations

impl Debug for Ground
[src]

[src]

Formats the value using the given formatter. Read more

impl Update for Ground
[src]

The type of the model.

The type of the parameter of the model() function used to initialize the model.

The type of the messages sent to the update() method.

[src]

Create the initial model.

[src]

Method called when a message is received from an event.

Connect the subscriptions. Subscriptions are Future/Stream that are spawn when the object is created. Read more

impl Widget for Ground
[src]

The type of the root widget.

[src]

Get the root widget of the view.

[src]

Create the initial view.

[src]

Update the view after it is initially created. This method is only useful when using the #[widget] attribute, because when not using it, you can use the view() method instead. Read more

[src]

Method called when the widget is added to its parent.

[src]

Get the parent ID. This is useful for custom Container implementation: when you implement the Container::add_widget(), you might want to insert widgets elsewhere depending of this id. Read more

[src]

Create the window from this widget and start the main loop.

Auto Trait Implementations

impl !Send for Ground

impl !Sync for Ground