Skip to main content

balance

Function balance 

Source
pub fn balance(
    record: &DayRecord,
    learned: &Learned,
    after: Option<&Learned>,
    tr: &Translator,
) -> DayBalance
Expand description

The balance of record’s day against learned (as of that day), and what learning from it would change (after: as of the next day; None when not known).