pub struct NativePlan {
pub host: HostOs,
pub arch: String,
pub targets: Vec<NativeTarget>,
pub unsupported: Vec<NativePlatform>,
}Expand description
The resolved plan for one native build invocation.
The plan names the host it was resolved against, the deliverables that will be built, and the platforms that were requested but cannot be built here.
Fields§
§host: HostOsThe host operating system the plan was resolved against.
arch: StringThe host architecture the plan was resolved against.
targets: Vec<NativeTarget>The deliverables that will be built, in build order.
unsupported: Vec<NativePlatform>The platforms that were requested but cannot be built on this host.
Implementations§
Source§impl NativePlan
impl NativePlan
pub fn get_mut_host(&mut self) -> &mut HostOs
pub fn set_host(&mut self, val: HostOs) -> &mut Self
pub fn get_mut_arch(&mut self) -> &mut String
pub fn set_arch(&mut self, val: String) -> &mut Self
pub fn get_mut_targets(&mut self) -> &mut Vec<NativeTarget>
pub fn set_targets(&mut self, val: Vec<NativeTarget>) -> &mut Self
pub fn get_mut_unsupported(&mut self) -> &mut Vec<NativePlatform>
pub fn set_unsupported(&mut self, val: Vec<NativePlatform>) -> &mut Self
Trait Implementations§
Source§impl Clone for NativePlan
impl Clone for NativePlan
Auto Trait Implementations§
impl Forget for NativePlan
impl Freeze for NativePlan
impl Move for NativePlan
impl RefUnwindSafe for NativePlan
impl Send for NativePlan
impl Sync for NativePlan
impl Unpin for NativePlan
impl UnsafeUnpin for NativePlan
impl UnwindSafe for NativePlan
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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