pub struct FSRS { /* private fields */ }Implementations§
Source§impl FSRS
impl FSRS
pub const fn new(parameters: Parameters) -> Self
pub fn scheduler( &self, card: Card, now: DateTime<Utc>, ) -> Box<dyn ImplScheduler>
pub fn repeat(&self, card: Card, now: DateTime<Utc>) -> RecordLog
pub fn next( &self, card: Card, now: DateTime<Utc>, rating: Rating, ) -> SchedulingInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FSRS
impl RefUnwindSafe for FSRS
impl Send for FSRS
impl Sync for FSRS
impl Unpin for FSRS
impl UnwindSafe for FSRS
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