pub struct BuildPlan {
pub request: BuildRequest,
pub host: HostInfo,
pub target: TargetInfo,
pub command: CommandLine,
pub steps: Vec<PlanStep>,
pub provider_actions: Vec<ProviderAction>,
pub cargo_config: Option<Table>,
pub cache_key: String,
}Expand description
A fully resolved build plan.
Fields§
§request: BuildRequest§host: HostInfo§target: TargetInfo§command: CommandLine§steps: Vec<PlanStep>§provider_actions: Vec<ProviderAction>§cargo_config: Option<Table>§cache_key: StringImplementations§
Source§impl BuildPlan
impl BuildPlan
pub fn manifest_directory(&self) -> &Path
pub fn target_triple(&self) -> &TargetTriple
pub fn is_cross_compilation(&self) -> bool
Trait Implementations§
impl StructuralPartialEq for BuildPlan
Auto Trait Implementations§
impl Freeze for BuildPlan
impl RefUnwindSafe for BuildPlan
impl Send for BuildPlan
impl Sync for BuildPlan
impl Unpin for BuildPlan
impl UnsafeUnpin for BuildPlan
impl UnwindSafe for BuildPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more