pub enum Repeat {
Never,
FixedPoint,
Cycle,
}Expand description
When an iteration stops because a seed repeats.
Variants§
Never
Never: every step is taken.
FixedPoint
When a step returns the seed it started from. Safe for a step that keeps state of its own beside the seed (a foot point’s parameters carried along as the next projection’s start), as long as that state is a function of the seed: the step would only repeat itself.
Cycle
When a seed repeats any one before it: the seeds are periodic from there, and the last step’s answer is the one taken at the same place in the period. Only for a step that is a function of its seed alone.
Trait Implementations§
impl Copy for Repeat
impl Eq for Repeat
impl StructuralPartialEq for Repeat
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnsafeUnpin for Repeat
impl UnwindSafe for Repeat
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