[−][src]Enum nvimpam_lib::card::line::Line
A line (actually, zero or more lines) inside a card in a Pamcrash input file.
Variants
Cells(&'static [Cell])A standard line, containing several cells of a fixed width
Ges(GesType)A General Entity Selection, can consist of several lines
Provides(&'static [Cell], Conditional)A line that provides a Conditional
Optional(&'static [Cell], u8)An optional line, depending on a conditional
The conditional is given as an index. Walking through the lines of a card will push the result of all conditionals to a Vec in order of occurence. The optional lines will index directly into the Vec to check for the result of their conditional.
Repeat(&'static [Cell], u8)A line that is repeated
The number of repeats is given as an
index, see the doc for Optional
Block(&'static [Line], &'static [u8])A block of lines, ended by a line starting with the given string.
OptionalBlock(&'static [u8], &'static [u8])A block that's entirely optional, starting with a line of a given string and ending in a line with another given string
Trait Implementations
impl PartialEq<Line> for Line[src]
impl PartialEq<Line> for Linefn eq(&self, other: &Line) -> bool[src]
fn eq(&self, other: &Line) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Line) -> bool[src]
fn ne(&self, other: &Line) -> boolThis method tests for !=.
impl Debug for Line[src]
impl Debug for LineAuto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more