[][src]Struct sixtyfps_compilerlib::CompilerConfiguration

pub struct CompilerConfiguration<'a> {
    pub embed_resources: bool,
    pub include_paths: &'a [PathBuf],
    pub style: Option<&'a str>,
}

CompilationConfiguration allows configuring different aspects of the compiler.

Fields

embed_resources: bool

Indicate whether to embed resources such as images in the generated output or whether to retain references to the resources on the file system.

include_paths: &'a [PathBuf]

The compiler will look in these paths for components used in the file to compile.

style: Option<&'a str>

the name of the style. (eg: "native")

Trait Implementations

impl<'a> Default for CompilerConfiguration<'a>[src]

Auto Trait Implementations

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, 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.