pub struct BuildGraphNode {
pub id: String,
pub source: PathBuf,
pub deps: Vec<String>,
pub output: PathBuf,
pub invalidated: bool,
}Expand description
A node in the build graph, representing one compilation unit.
Fields§
§id: StringNode identifier (usually module name).
source: PathBufSource file.
deps: Vec<String>Dependency node IDs.
output: PathBufOutput artifact path.
invalidated: boolWhether this node was invalidated.
Implementations§
Trait Implementations§
Source§impl Clone for BuildGraphNode
impl Clone for BuildGraphNode
Source§fn clone(&self) -> BuildGraphNode
fn clone(&self) -> BuildGraphNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuildGraphNode
impl RefUnwindSafe for BuildGraphNode
impl Send for BuildGraphNode
impl Sync for BuildGraphNode
impl Unpin for BuildGraphNode
impl UnsafeUnpin for BuildGraphNode
impl UnwindSafe for BuildGraphNode
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