pub struct LoopDetector { /* private fields */ }Expand description
ToolLoopDetector.
Implementations§
Source§impl LoopDetector
impl LoopDetector
pub fn new(limits: LoopLimits) -> Self
pub fn level(&self, lane: &str) -> u8
Sourcepub fn cell_ended(
&mut self,
lane: &str,
code: &str,
failed: bool,
ename: Option<&str>,
) -> Option<LoopTrip>
pub fn cell_ended( &mut self, lane: &str, code: &str, failed: bool, ename: Option<&str>, ) -> Option<LoopTrip>
A cell on lane ended; a trip when this cell makes the lane look stuck.
pub fn reset(&mut self, lane: &str)
Trait Implementations§
Auto Trait Implementations§
impl Forget for LoopDetector
impl Freeze for LoopDetector
impl Move for LoopDetector
impl RefUnwindSafe for LoopDetector
impl Send for LoopDetector
impl Sync for LoopDetector
impl Unpin for LoopDetector
impl UnsafeUnpin for LoopDetector
impl UnwindSafe for LoopDetector
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