pub struct DummyImportResolver;
Expand description

Dummy resolver, can’t resolve/load any file

Trait Implementations§

Load resolved file This should only be called with value returned from [ImportResolver::resolve_file]/ImportResolver::resolve, this cannot be resolved using associated type, as evaluator uses object instead of generic for ImportResolver
For downcasts
Resolves file path, e.g. (/home/user/manifests, b.libjsonnet) can correspond both to /home/user/manifests/b.libjsonnet and to /home/user/${vendor}/b.libjsonnet where ${vendor} is a library path. Read more
Resolves absolute path, doesn’t supports jpath and other fancy things
Define how to visit values referred by this value. Read more
Whether this type should be tracked by the collector. 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.