pub struct PassContextScope(/* private fields */);Expand description
A pass context in effect while it is alive: PassContext::enter.
The entered pass contexts are a stack of the thread, so a scope stays on the thread that opened it, and the scopes end in the reverse order they were opened: drop the innermost one first.
ⓘ
fn send<T: Send>() {}
send::<tvm_tirx::ir::transform::PassContextScope>();Trait Implementations§
Auto Trait Implementations§
impl Freeze for PassContextScope
impl RefUnwindSafe for PassContextScope
impl !Send for PassContextScope
impl !Sync for PassContextScope
impl Unpin for PassContextScope
impl UnwindSafe for PassContextScope
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