pub struct IgnoreDiagnosticsScope { /* private fields */ }Expand description
Perl local $LaTeXML::IGNORE_ERRORS = 1 as a scope: ignores diagnostics
while alive and restores the previous state on drop — panic-safe, unlike a
manual restore after the probed call.
Implementations§
Source§impl IgnoreDiagnosticsScope
impl IgnoreDiagnosticsScope
pub fn new() -> Self
Sourcepub fn dropped(&self) -> IgnoredRecords
pub fn dropped(&self) -> IgnoredRecords
The Error and Fatal records dropped while this scope was alive: a scope that mutes a load can still say what it muted (#825).
Trait Implementations§
Source§impl Default for IgnoreDiagnosticsScope
impl Default for IgnoreDiagnosticsScope
Source§impl Drop for IgnoreDiagnosticsScope
impl Drop for IgnoreDiagnosticsScope
Auto Trait Implementations§
impl Freeze for IgnoreDiagnosticsScope
impl RefUnwindSafe for IgnoreDiagnosticsScope
impl Send for IgnoreDiagnosticsScope
impl Sync for IgnoreDiagnosticsScope
impl Unpin for IgnoreDiagnosticsScope
impl UnsafeUnpin for IgnoreDiagnosticsScope
impl UnwindSafe for IgnoreDiagnosticsScope
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