Struct include_dir::IncludeDirBuilder [] [src]

pub struct IncludeDirBuilder { /* fields omitted */ }

A builder object to give the include_dir() function a nice fluent API.

Note

It is pretty much assumed that you'll use it in the order described in include_dir's docs. Straying from that path will only lead to frustration.

Methods

impl IncludeDirBuilder
[src]

Set the variable name to save your assets under.

Ignore a directory or file.

Note

For now, this will only match the path relative to the included directory.

Save the file tree to the provided path, performing all necessary error checking.

Trait Implementations

impl Debug for IncludeDirBuilder
[src]

Formats the value using the given formatter.

impl Default for IncludeDirBuilder
[src]

Returns the "default value" for a type. Read more