pub struct PassScope { /* private fields */ }Expand description
RAII guard naming the current pass; restores the previous name on drop, so scopes nest (a driver phase can wrap individual passes).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PassScope
impl RefUnwindSafe for PassScope
impl Send for PassScope
impl Sync for PassScope
impl Unpin for PassScope
impl UnsafeUnpin for PassScope
impl UnwindSafe for PassScope
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