pub struct FileResolver { /* private fields */ }
Available on crate feature loader only.
Expand description

The file module resolver

This resolver can be used as the nested backing resolver in user-defined resolvers.

Implementations

Add search path for modules

Add search path for modules

Add search paths for modules

Add search paths for modules

Add module file pattern

Add module file pattern

Add support for native modules

Add support for native modules

Trait Implementations

Formats the value using the given formatter. Read more

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

Available on crate feature loader only.

Normalize module name Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.