pub fn new_from_module(module: dr::Module) -> Builder {
        let next_id = module
            .header
            .as_ref()
            .map(|h| h.bound)
            .expect("Expecting ModuleHeader with valid bound");

        Builder {
            module,
            next_id,
            selected_function: None,
            selected_block: None,
        }
    }
/// Create a new builder from an existing module
Create a new builder from an existing module
Create a new builder from an existing module
pub fn new_from_module(module: dr::Module) -> Builder {
        let next_id = module
            .header
            .as_ref()
            .map(|h| h.bound)
            .expect("Expecting ModuleHeader with valid bound");
        Builder {
            module,
            next_id,
            selected_function: None,
            selected_block: None,
        }
    }
pub fn new_from_module ( module : dr :: Module ) -> Builder { let next_id = module . header . as_ref ( ) . map ( | h | h . bound ) . expect ( " " ) ; Builder { module , next_id , selected_function : None , selected_block : None , } }
Create a new builder from an existing module
Create a new builder from an existing module
module
dr::Module
module
dr::Module