pub struct PlanOptions {
pub target_time_minutes: u32,
pub new_card_ratio: f64,
pub prioritize_leeches: bool,
pub seconds_per_new_card: u32,
pub seconds_per_review_card: u32,
pub leech_threshold: i64,
}Expand description
Options for generating a study plan.
Fields§
§target_time_minutes: u32Target study time in minutes.
new_card_ratio: f64Ratio of new cards (0.0 - 1.0). E.g., 0.2 means 20% new cards.
prioritize_leeches: boolWhether to prioritize leech cards (cards with high lapses).
seconds_per_new_card: u32Estimated seconds per new card.
seconds_per_review_card: u32Estimated seconds per review card.
leech_threshold: i64Leech threshold (minimum lapses to consider a card a leech).
Trait Implementations§
Source§impl Clone for PlanOptions
impl Clone for PlanOptions
Source§fn clone(&self) -> PlanOptions
fn clone(&self) -> PlanOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanOptions
impl Debug for PlanOptions
Auto Trait Implementations§
impl Freeze for PlanOptions
impl RefUnwindSafe for PlanOptions
impl Send for PlanOptions
impl Sync for PlanOptions
impl Unpin for PlanOptions
impl UnwindSafe for PlanOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more