Struct move_package::compilation::build_plan::BuildPlan
source · [−]pub struct BuildPlan { /* private fields */ }Implementations
sourceimpl BuildPlan
impl BuildPlan
pub fn create(resolution_graph: ResolvedGraph) -> Result<Self>
sourcepub fn compile<W: Write>(&self, writer: &mut W) -> Result<CompiledPackage>
pub fn compile<W: Write>(&self, writer: &mut W) -> Result<CompiledPackage>
Compilation results in the process exit upon warning/failure
sourcepub fn compile_no_exit<W: Write>(
&self,
writer: &mut W
) -> Result<CompiledPackage>
pub fn compile_no_exit<W: Write>(
&self,
writer: &mut W
) -> Result<CompiledPackage>
Compilation process does not exit even if warnings/failures are encountered
pub fn compile_with_driver<W: Write>(
&self,
writer: &mut W,
compiler_driver: impl FnMut(Compiler<'_>) -> Result<(FilesSourceText, Vec<AnnotatedCompiledUnit>)>
) -> Result<CompiledPackage>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuildPlan
impl Send for BuildPlan
impl Sync for BuildPlan
impl Unpin for BuildPlan
impl UnwindSafe for BuildPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more