Struct nvimpam_lib::card::Card [−][src]
pub struct Card { pub lines: &'static [Line], pub ownfold: bool, pub keyword: Keyword, }
A card consists of severals Line
s, 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
lines: &'static [Line]
ownfold: bool
keyword: Keyword
Trait Implementations
impl Debug for Card
[src]
impl Debug for Card
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> From<&'a Keyword> for &'static Card
[src]
impl<'a> From<&'a Keyword> for &'static Card