Function booklibrs::actions::book::add_rem::full::add_books [−][src]
pub fn add_books(
book_system: &mut BookSystem,
reader_base: &ReaderBase,
genres: &Genres,
caretaker: &mut Caretaker,
app: &App,
lang: Lang
)
Function that add simple books and the book (if it wasn’t in library) If number of books to add plus number of existing books is more than usize::MAX, than you will receive error. If you have mistakes in input, program will let you know