pub struct BuildGraph {
pub actions: Vec<Action>,
pub default_outputs: Vec<PathBuf>,
pub compile_commands: Vec<CompileCommand>,
}Expand description
Backend-independent description of everything that needs to happen to
realize a build. A backend (currently cabin-ninja) walks this graph and
emits the equivalent build-system-specific representation.
Fields§
§actions: Vec<Action>All actions to execute, in topological order. Earlier actions in the vector never depend on later actions.
default_outputs: Vec<PathBuf>Output paths that should be marked as default targets.
compile_commands: Vec<CompileCommand>One entry per C/C++ source compile, used to emit
compile_commands.json. Both languages contribute entries
with their language-appropriate compiler driver and flags
recorded in arguments.
Trait Implementations§
Source§impl Clone for BuildGraph
impl Clone for BuildGraph
Source§fn clone(&self) -> BuildGraph
fn clone(&self) -> BuildGraph
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 BuildGraph
impl Debug for BuildGraph
Source§impl PartialEq for BuildGraph
impl PartialEq for BuildGraph
Source§fn eq(&self, other: &BuildGraph) -> bool
fn eq(&self, other: &BuildGraph) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BuildGraph
impl StructuralPartialEq for BuildGraph
Auto Trait Implementations§
impl Freeze for BuildGraph
impl RefUnwindSafe for BuildGraph
impl Send for BuildGraph
impl Sync for BuildGraph
impl Unpin for BuildGraph
impl UnsafeUnpin for BuildGraph
impl UnwindSafe for BuildGraph
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.