[−][src]Struct rustc_driver::RunCompiler
Fields
at_args: &'a [String]callbacks: &'b mut (dyn Callbacks + Send)file_loader: Option<Box<dyn FileLoader + Send + Sync>>emitter: Option<Box<dyn Write + Send>>make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend> + Send>>Implementations
impl<'a, 'b> RunCompiler<'a, 'b>[src]
pub fn new(
at_args: &'a [String],
callbacks: &'b mut (dyn Callbacks + Send)
) -> Self[src]
at_args: &'a [String],
callbacks: &'b mut (dyn Callbacks + Send)
) -> Self
pub fn set_make_codegen_backend(
&mut self,
make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend> + Send>>
) -> &mut Self[src]
&mut self,
make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend> + Send>>
) -> &mut Self
pub fn set_emitter(
&mut self,
emitter: Option<Box<dyn Write + Send>>
) -> &mut Self[src]
&mut self,
emitter: Option<Box<dyn Write + Send>>
) -> &mut Self
pub fn set_file_loader(
&mut self,
file_loader: Option<Box<dyn FileLoader + Send + Sync>>
) -> &mut Self[src]
&mut self,
file_loader: Option<Box<dyn FileLoader + Send + Sync>>
) -> &mut Self
pub fn run(self) -> Result<()>[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,