pub struct ExactScope<'a> { /* private fields */ }Expand description
RAII guard from Engine::exact_scope: restores the pre-scope verify_exact value on
drop, so error propagation (?) can never leave the engine latched in the
decode-exact matmul program (hermes finding, fixed 2026-08-23). Holds the flag, not
the Engine, so the restoration contract is unit-testable without a GPU.
Trait Implementations§
Source§impl Drop for ExactScope<'_>
impl Drop for ExactScope<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExactScope<'a>
impl<'a> RefUnwindSafe for ExactScope<'a>
impl<'a> Send for ExactScope<'a>
impl<'a> Sync for ExactScope<'a>
impl<'a> Unpin for ExactScope<'a>
impl<'a> UnsafeUnpin for ExactScope<'a>
impl<'a> UnwindSafe for ExactScope<'a>
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