[][src]Struct mem6::gamedatamod::GameConfig

pub struct GameConfig {
    pub card_moniker: Vec<String>,
    pub img_filename: Vec<String>,
    pub sound_filename: Vec<String>,
    pub card_width: usize,
    pub card_height: usize,
    pub grid_items_hor: usize,
    pub grid_items_ver: usize,
}

game config

Fields

card_moniker: Vec<String>

card moniker - the text/name of the card the zero element is card face down or empty, example alphabet begins with index 01 : A

img_filename: Vec<String>

img filenames

sound_filename: Vec<String>

sound filenames

card_width: usize

card image width

card_height: usize

card image height

grid_items_hor: usize

number of cards horizontally

grid_items_ver: usize

number of card vertically

Trait Implementations

impl Clone for GameConfig[src]

impl<'de> Deserialize<'de> for GameConfig[src]

impl Serialize for GameConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for GameConfig

impl Send for GameConfig

impl Sync for GameConfig

impl Unpin for GameConfig

impl UnwindSafe for GameConfig

Blanket Implementations

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

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme, 

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme, 

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

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

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

impl<T, Dst> ConvAsUtil<Dst> for T

impl<T> ConvUtil for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Src> TryFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

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<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

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>, 

impl<Src> ValueFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.