pub struct PolylineFitScope { /* private fields */ }Expand description
An open tally of the polyline fits made on this thread — see
PolylineFitLedger. Open it where an operation starts, close it where
the operation returns its diagnostics; a ? that unwinds past it drops the
tally.
Implementations§
Source§impl PolylineFitScope
impl PolylineFitScope
pub fn open() -> Self
Sourcepub fn close(self) -> PolylineFitLedger
pub fn close(self) -> PolylineFitLedger
Take the tally, folding it into the enclosing scope if there is one.
Trait Implementations§
Source§impl Drop for PolylineFitScope
impl Drop for PolylineFitScope
Auto Trait Implementations§
impl !Send for PolylineFitScope
impl !Sync for PolylineFitScope
impl Forget for PolylineFitScope
impl Freeze for PolylineFitScope
impl Move for PolylineFitScope
impl RefUnwindSafe for PolylineFitScope
impl Unpin for PolylineFitScope
impl UnsafeUnpin for PolylineFitScope
impl UnwindSafe for PolylineFitScope
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