pub struct App { /* private fields */ }
Implementations§
Source§impl App
impl App
pub fn new() -> Self
pub fn register_external_function(self, name: &str, func: *mut c_void) -> Self
pub fn set_test_llvm(self, test: bool) -> Self
pub fn add_test_llvm_file(self, path: impl AsRef<Path>) -> Self
pub fn register_visitor(self, visitor: impl Visitor + 'static) -> Self
pub fn add_plugin(self, plugin: impl Plugin) -> Self
pub fn run(&mut self)
pub fn set_entry_file(self, path: impl AsRef<Path>) -> Self
Auto Trait Implementations§
impl Freeze for App
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl Unpin for App
impl !UnwindSafe for App
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