Struct rustc_driver::RunCompiler
source · pub struct RunCompiler<'a, 'b> {
pub(crate) at_args: &'a [String],
pub(crate) callbacks: &'b mut (dyn Callbacks + Send),
pub(crate) file_loader: Option<Box<dyn FileLoader + Send + Sync, Global>>,
pub(crate) make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend, Global> + Send, Global>>,
}
Expand description
This is the primary entry point for rustc.
Fields§
§at_args: &'a [String]
§callbacks: &'b mut (dyn Callbacks + Send)
§file_loader: Option<Box<dyn FileLoader + Send + Sync, Global>>
§make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend, Global> + Send, Global>>
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for RunCompiler<'a, 'b>
impl<'a, 'b> Send for RunCompiler<'a, 'b>
impl<'a, 'b> !Sync for RunCompiler<'a, 'b>
impl<'a, 'b> Unpin for RunCompiler<'a, 'b>
impl<'a, 'b> !UnwindSafe for RunCompiler<'a, 'b>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes