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
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more