Struct nvimpam_lib::card::Card[][src]

pub struct Card {
    pub lines: &'static [Line],
    pub ownfold: bool,
    pub keyword: Keyword,
}

A card consists of severals Lines, and starts with a given Keyword. If ownfold is true, than each card of this type will get an own fold. Otherwise, all adjacent cards of that types are gathered into one fold.

Fields

Trait Implementations

impl Debug for Card
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a Keyword> for &'static Card
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Card

impl Sync for Card