[][src]Type Definition freecell::Cascade

type Cascade = Vec<Card>;

A stack of arbitrary cards.

Rules

Adding cards: A card can be put on a cascade iff its rank is 1 lower than that of the top card of the cascade and it has a different colour than the top card of the cascade.

Removing cards: Only the top card of the cascade can be removed.

Examples

TODO [high priority] Add examples

Trait Implementations

impl CardCollection for Cascade[src]