pub struct UpdateParameters {
pub difficulty_change_factor: f32,
pub memory_strength_change_factor: f32,
}
Expand description
struct containing various parameters used to update the scheduling data of an item
Fields§
§difficulty_change_factor: f32
the factor (in percent) that the difficulty is increased/decreased if the user finds the item to hard/easy
memory_strength_change_factor: f32
the faactor (in percent) that the memory_strength is increased when reviewing an item
Trait Implementations§
Source§impl Clone for UpdateParameters
impl Clone for UpdateParameters
Source§fn clone(&self) -> UpdateParameters
fn clone(&self) -> UpdateParameters
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 UpdateParameters
impl Debug for UpdateParameters
Auto Trait Implementations§
impl Freeze for UpdateParameters
impl RefUnwindSafe for UpdateParameters
impl Send for UpdateParameters
impl Sync for UpdateParameters
impl Unpin for UpdateParameters
impl UnwindSafe for UpdateParameters
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