Struct ssr_algorithms::leitner_system::LeitnerSystem
source · pub struct LeitnerSystem { /* private fields */ }
Trait Implementations§
source§impl<'de> Deserialize<'de> for LeitnerSystem
impl<'de> Deserialize<'de> for LeitnerSystem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for LeitnerSystem
impl Serialize for LeitnerSystem
source§impl<'a> Task<'a> for LeitnerSystem
impl<'a> Task<'a> for LeitnerSystem
fn new( description: String, correct_answers: impl IntoIterator<Item = String>, explanation: Option<String>, ) -> Self
fn get_desctiption(&self) -> &str
fn until_next_repetition(&self) -> Duration
fn complete( &mut self, interaction: impl UserInteraction, ) -> Feedback<'_, impl Iterator<Item = &String>>
Auto Trait Implementations§
impl Freeze for LeitnerSystem
impl RefUnwindSafe for LeitnerSystem
impl Send for LeitnerSystem
impl Sync for LeitnerSystem
impl Unpin for LeitnerSystem
impl UnwindSafe for LeitnerSystem
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