pub struct EvaluationSettings {
    pub context_initializer: TraceBox<dyn ContextInitializer>,
    pub import_resolver: TraceBox<dyn ImportResolver>,
}
Expand description

Dynamically reconfigurable evaluation settings

Fields§

§context_initializer: TraceBox<dyn ContextInitializer>

Context initializer, which will be used for imports and everything [NoopContextInitializer] is used by default, most likely you want to have jrsonnet-stdlib

§import_resolver: TraceBox<dyn ImportResolver>

Used to resolve file locations/contents

Trait Implementations§

Returns the “default value” for a type. Read more
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.