[][src]Struct klondike_lib::model::area::foundation::Foundation

pub struct Foundation<S> { /* fields omitted */ }

A foundation area in Klondike. The foundations are the areas where cards are moved to win, creating piles by suit, starting with aces and ending with kings.

Implementations

impl Foundation<()>[src]

pub fn create(
    suit: Suit,
    cards: Vec<Card>,
    settings: &GameSettings
) -> Box<dyn UnselectedArea>
[src]

Trait Implementations

impl<S: Debug> Debug for Foundation<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Foundation<S> where
    S: RefUnwindSafe

impl<S> Send for Foundation<S> where
    S: Send

impl<S> Sync for Foundation<S> where
    S: Sync

impl<S> Unpin for Foundation<S> where
    S: Unpin

impl<S> UnwindSafe for Foundation<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,