pub struct Include<'a> {
pub path: Value<'a>,
pub new_scope: bool,
}
Expand description
Include instruction.
Instructs ninja to include another file. This comes in two flavors include
and subninja
. include
instructs ninja to include a file as-is while
subninja
instructs ninja to open another “scope” such that rule
definitions and variable bindings are not propagated up to the file that
contains the subninja
instruction.
Fields§
§path: Value<'a>
§new_scope: bool
Trait Implementations§
impl<'a> Eq for Include<'a>
impl<'a> StructuralPartialEq for Include<'a>
Auto Trait Implementations§
impl<'a> Freeze for Include<'a>
impl<'a> RefUnwindSafe for Include<'a>
impl<'a> Send for Include<'a>
impl<'a> Sync for Include<'a>
impl<'a> Unpin for Include<'a>
impl<'a> UnwindSafe for Include<'a>
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