pub struct PassManager { /* private fields */ }Implementations§
Source§impl PassManager
impl PassManager
pub fn new(limits: Limits) -> Self
pub fn add(self, pass: impl Pass + 'static) -> Self
Sourcepub fn without(self, name: &str) -> Self
pub fn without(self, name: &str) -> Self
Removes every pass with this name, for testing a pipeline without it.
pub fn with_dumps(self, dump: bool) -> Self
pub fn pass_names(&self) -> Vec<&'static str>
Auto Trait Implementations§
impl !RefUnwindSafe for PassManager
impl !Send for PassManager
impl !Sync for PassManager
impl !UnwindSafe for PassManager
impl Freeze for PassManager
impl Unpin for PassManager
impl UnsafeUnpin for PassManager
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