[][src]Struct ninja_build_syntax::Include

pub struct Include<'a> {
    pub path: Value<'a>,
    pub new_scope: bool,
}

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> Clone for Include<'a>[src]

impl<'a> Debug for Include<'a>[src]

impl<'a> Eq for Include<'a>[src]

impl<'a> PartialEq<Include<'a>> for Include<'a>[src]

impl<'a> StructuralEq for Include<'a>[src]

impl<'a> StructuralPartialEq for Include<'a>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.