pub struct FunctionPassAdapter<P: FunctionPass> {
pub pass: P,
}Expand description
Applies a FunctionPass to every non-declaration function in the module.
Fields§
§pass: PPublic API for pass.
Trait Implementations§
Source§impl<P: FunctionPass> ModulePass for FunctionPassAdapter<P>
impl<P: FunctionPass> ModulePass for FunctionPassAdapter<P>
Auto Trait Implementations§
impl<P> Freeze for FunctionPassAdapter<P>where
P: Freeze,
impl<P> RefUnwindSafe for FunctionPassAdapter<P>where
P: RefUnwindSafe,
impl<P> Send for FunctionPassAdapter<P>where
P: Send,
impl<P> Sync for FunctionPassAdapter<P>where
P: Sync,
impl<P> Unpin for FunctionPassAdapter<P>where
P: Unpin,
impl<P> UnsafeUnpin for FunctionPassAdapter<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for FunctionPassAdapter<P>where
P: UnwindSafe,
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