Function booklibrs::actions::tables::cell_reader[][src]

pub fn cell_reader(
    x: i32,
    y: i32,
    reader_base: &ReaderBase,
    book_system: &BookSystem,
    lang: Lang
) -> (String, Option<Color>)

Function that returns String with reader's data and color. If column is 0, it' ll return reader's params, if column is 1, it' ll return books's params (or none) if column is 2, it' ll return start date's params (or none) if column is 2, it' ll return finish date's params (or none). if reader is late, it' ll return some color, else none