Struct static_files::ResourceDir[][src]

pub struct ResourceDir { /* fields omitted */ }
Expand description

Resource dir.

A builder structure allows to change default settings for:

  • file filter
  • generated file name
  • generated function name

Implementations

Generates resources for current configuration.

Sets the file filter.

Sets the generated filename.

Sets the generated function name.

Sets the generated module name.

Default value is based on generated function name and the suffix “sets”. Generated module would be overriden by each call.

Sets maximal count of files per module.

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.