pub struct LoopLimits { /* private fields */ }Expand description
How long an integrator’s loop may go round before it stops itself.
Implementations§
Source§impl LoopLimits
impl LoopLimits
pub const fn new( max_rounds: Option<LoopRoundLimit>, no_progress_rounds: LoopRoundLimit, ) -> Self
Sourcepub const fn max_rounds(self) -> Option<LoopRoundLimit>
pub const fn max_rounds(self) -> Option<LoopRoundLimit>
A ceiling on rounds, when the caller set one.
Sourcepub const fn no_progress_rounds(self) -> LoopRoundLimit
pub const fn no_progress_rounds(self) -> LoopRoundLimit
How many rounds with nothing new before the loop declares itself stuck.
Trait Implementations§
Source§impl Clone for LoopLimits
impl Clone for LoopLimits
impl Copy for LoopLimits
Source§impl Debug for LoopLimits
impl Debug for LoopLimits
Source§impl Default for LoopLimits
impl Default for LoopLimits
Source§impl<'de> Deserialize<'de> for LoopLimits
impl<'de> Deserialize<'de> for LoopLimits
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
impl Eq for LoopLimits
Source§impl PartialEq for LoopLimits
impl PartialEq for LoopLimits
Source§impl Serialize for LoopLimits
impl Serialize for LoopLimits
impl StructuralPartialEq for LoopLimits
Auto Trait Implementations§
impl Freeze for LoopLimits
impl RefUnwindSafe for LoopLimits
impl Send for LoopLimits
impl Sync for LoopLimits
impl Unpin for LoopLimits
impl UnsafeUnpin for LoopLimits
impl UnwindSafe for LoopLimits
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