# component_resource_resolution

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/function-component_resource_resolution/

**function** · [`ferroui-designer-tools`](/docs/0.5.0/api/ferroui-designer-tools/) · v0.5.0

```rust
fn component_resource_resolution(document: &ferroui_designer_core::Document, target: ferroui_designer_core::NodeId, key: &str, context: Option<&ComponentResourceContext>) -> crate::Result<ComponentResourceResolution>
```

Inspect resource lookup, including possible references which cannot safely be
represented by a single NodeId. Authoring uses this conservative information to
protect resources referenced only in some themes or behind external providers.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/component_resource_refs.rs#L95)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
