pub fn with_args(mut self, arguments: impl IntoIterator<Item = &'a Type>) -> Self {
        for argument in arguments {
            self.argument_types.push(*argument);
        }
        self
    }
/// Add many arguments to a block.
///
/// The default is no argument types.
///
/// # Examples
///
/// ```
/// # use yair::*;
/// # let mut context = Context::new();
/// # let module = context.create_module().build();
/// # let function = module.create_function(&mut context).with_name("func").build();
/// # let i8_ty = context.get_int_type(8);
/// # let u32_ty = context.get_uint_type(32);
/// # let block_builder = function.create_block(&mut context);
/// block_builder.with_args(&[i8_ty, u32_ty]);
/// ```
Add many arguments to a block.
The default is no argument types.
Add many arguments to a block . The default is no argument types .
pub fn with_args(mut self, arguments: impl IntoIterator<Item = &'a Type>) -> Self {
        for argument in arguments {
            self.argument_types.push(*argument);
        }
        self
    }
pub fn with_args ( mut self , arguments : impl IntoIterator < Item = & ' a Type > ) -> Self { for argument in arguments { self . argument_types . push ( * argument ) ; } self }
Add many arguments to a block.
Add many arguments to a block .
mut self
arguments
impl IntoIterator<Item = &'a Type>
mut self
arguments
impl IntoIterator<Item = &'a Type>
examples
None
use yair::*;
None
let mut context = context::new();
None
let module = context.create_module().build();
None
let function = module.create_function(&mut context).with_name("func").build();
None
let i8_ty = context.get_int_type(8);
None
let u32_ty = context.get_uint_type(32);
None
let block_builder = function.create_block(&mut context);
None