pub struct GenerationPlan { /* private fields */ }Expand description
The pure inputs needed by the next generation-execution slice.
Implementations§
Source§impl GenerationPlan
impl GenerationPlan
Sourcepub fn package_id(&self) -> &BoxId
pub fn package_id(&self) -> &BoxId
Returns the selected package identity.
Sourcepub fn manifest_path(&self) -> &RelativePath
pub fn manifest_path(&self) -> &RelativePath
Returns the workspace-relative package manifest path.
Sourcepub fn package_root(&self) -> Option<&RelativePath>
pub fn package_root(&self) -> Option<&RelativePath>
Returns the package root, or None for the workspace-root package.
Sourcepub fn derived_output_id(&self) -> &BoxId
pub fn derived_output_id(&self) -> &BoxId
Returns the selected derived-output identity.
Sourcepub fn crate_root(&self) -> &RelativePath
pub fn crate_root(&self) -> &RelativePath
Returns the exact package-relative implementation crate root.
Sourcepub fn schema_path(&self) -> &RelativePath
pub fn schema_path(&self) -> &RelativePath
Returns the canonical workspace-relative checked-in schema path.
Sourcepub fn inputs(&self) -> &[RelativePath]
pub fn inputs(&self) -> &[RelativePath]
Returns matching package-relative non-derived inputs in stable classification order.
Sourcepub fn imports(&self) -> &[ResolvedImport]
pub fn imports(&self) -> &[ResolvedImport]
Returns declared imports resolved in manifest declaration order.
Sourcepub fn outputs(&self) -> &[GlobPattern]
pub fn outputs(&self) -> &[GlobPattern]
Returns the selected output’s declared patterns in declaration order.
Trait Implementations§
Source§impl Clone for GenerationPlan
impl Clone for GenerationPlan
Source§fn clone(&self) -> GenerationPlan
fn clone(&self) -> GenerationPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenerationPlan
impl Debug for GenerationPlan
impl Eq for GenerationPlan
Source§impl PartialEq for GenerationPlan
impl PartialEq for GenerationPlan
impl StructuralPartialEq for GenerationPlan
Auto Trait Implementations§
impl Freeze for GenerationPlan
impl RefUnwindSafe for GenerationPlan
impl Send for GenerationPlan
impl Sync for GenerationPlan
impl Unpin for GenerationPlan
impl UnsafeUnpin for GenerationPlan
impl UnwindSafe for GenerationPlan
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.