Skip to main content

PassManagerSubType

Trait PassManagerSubType 

Source
pub trait PassManagerSubType {
    type Input;

    // Required methods
    unsafe fn create<I: Borrow<Self::Input>>(input: I) -> LLVMPassManagerRef;
    unsafe fn run_in_pass_manager(
        &self,
        pass_manager: &PassManager<Self>,
    ) -> bool
       where Self: Sized;
}

Required Associated Types§

Required Methods§

Source

unsafe fn create<I: Borrow<Self::Input>>(input: I) -> LLVMPassManagerRef

Source

unsafe fn run_in_pass_manager(&self, pass_manager: &PassManager<Self>) -> bool
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§