pub struct TestModuleBuilder { /* private fields */ }Implementations§
Source§impl TestModuleBuilder
impl TestModuleBuilder
pub fn new() -> Self
pub fn func_builder( &mut self, args: &[Type], ret_ty: Type, ) -> FunctionBuilder<'_>
pub fn build(self) -> Module
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TestModuleBuilder
impl !Send for TestModuleBuilder
impl !Sync for TestModuleBuilder
impl !UnwindSafe for TestModuleBuilder
impl Freeze for TestModuleBuilder
impl Unpin for TestModuleBuilder
impl UnsafeUnpin for TestModuleBuilder
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