pub fn colour(self) -> Colour {
        match self {
            Suit::Club => Colour::Black,
            Suit::Spade => Colour::Black,
            Suit::Heart => Colour::Red,
            Suit::Diamond => Colour::Red,
        }
    }
/// Returns the colour of this suit.
///
/// Club and Spade are black, Heart and Diamond are red.
///
/// # Examples
///
/// ```
/// use freecell::Colour;
/// # use freecell::Suit;
///
/// assert_eq!(Colour::Black, Suit::Club.colour());
/// assert_eq!(Colour::Red, Suit::Heart.colour());
/// ```
Returns the colour of this suit.
Club and Spade are black, Heart and Diamond are red.
Returns the colour of this suit . Club and Spade are black Heart and Diamond are red .
pub fn colour(self) -> Colour {
        match self {
            Suit::Club => Colour::Black,
            Suit::Spade => Colour::Black,
            Suit::Heart => Colour::Red,
            Suit::Diamond => Colour::Red,
        }
    }
pub fn colour ( self ) -> Colour { match self { Suit :: Club => Colour :: Black , Suit :: Spade => Colour :: Black , Suit :: Heart => Colour :: Red , Suit :: Diamond => Colour :: Red , } }
Returns the colour of this suit.
Returns the colour of this suit .
self
self
examples
```
use freecell::Colour.
` ` ` use freecell :: Colour .
use freecell::suit;
assert_eq!(Colour::Black, Suit::Club.colour());
assert_eq!(Colour::Red, Suit::Heart.colour());
```
assert_eq! ( Colour :: Black Suit :: Club . colour () ) ; assert_eq! ( Colour :: Red Suit :: Heart . colour () ) ; ` ` `