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
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
Auto Trait Implementations
impl RefUnwindSafe for ResourceDir
impl Send for ResourceDir
impl Sync for ResourceDir
impl Unpin for ResourceDir
impl UnwindSafe for ResourceDir