Skip to main content

resolve_static

Function resolve_static 

Source
pub fn resolve_static(
    declaration: EngineDeclaration,
) -> Result<Option<StaticResolution>, ResolutionError>
Expand description

Validate an engine declaration without inspecting an asset.

With neither selection nor settings this returns Ok(None), preserving engine-neutral behavior. Every declaration is otherwise validated, including settings beneath selectors that may match no eventual clip.

ยงErrors

Returns a typed configuration error for settings without a selection, an unknown tuple/key, wrong scope, not-applicable setting, invalid value, or missing required document setting.