pub struct Plan {
pub targets: Vec<TargetPlan>,
pub warnings: Vec<CoreError>,
/* private fields */
}Expand description
A whole plan.
Fields§
§targets: Vec<TargetPlan>§warnings: Vec<CoreError>Problems outside any target: clients that cannot be written here, server files that do not load.
Implementations§
Source§impl Plan
impl Plan
pub fn unresolved(&self) -> usize
Sourcepub fn scope_part(&self, scope: ScopeFilter) -> Plan
pub fn scope_part(&self, scope: ScopeFilter) -> Plan
Of a plan of every scope and project (PlanOptions::default),
the plan of scope alone: the same targets, in the same order, and
the same warnings as planning with scope gives (#15: the app plans
once and shows the parts).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Plan
impl Freeze for Plan
impl Move for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Planwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<TargetPlan>: UnsafeUnpin,
PhantomData<CoreError>: UnsafeUnpin,
impl UnwindSafe for Planwhere
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
&'static [&'static str]: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<&'static str, bool>: UnwindSafe,
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