# ComponentResourceResolution

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/struct-componentresourceresolution/

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

```rust
struct ComponentResourceResolution
```

All declarations which might supply a resource in this context. With no theme
context, this is a conservative union across theme variants and their fallbacks.

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

## Members

- [`candidates`](#struct_field-candidates)
- [`may_be_missing`](#struct_field-may_be_missing)
- [`external`](#struct_field-external)
- [`resolved`](#function-resolved)

<a id="struct_field-candidates"></a>

### candidates

```rust
candidates: Vec<ferroui_designer_core::NodeId>
```



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

<a id="struct_field-may_be_missing"></a>

### may_be_missing

```rust
may_be_missing: bool
```

Some applicable theme/lookup path has no authored declaration for the key.

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

<a id="struct_field-external"></a>

### external

```rust
external: bool
```

An external provider, unsupported key, or invalid dictionary is unresolved.

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

<a id="function-resolved"></a>

### resolved

```rust
fn resolved(self: &Self) -> Option<NodeId>
```

A single declaration only when every possible lookup path resolves to it.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Serialize`
- `Deserialize<'de>`

## Availability

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