IResourceNode
trait · ferroui-base · v0.5.0
trait IResourceNode
Represents a resource provider in a tree.
Members
has_resources
fn has_resources(self: &Self) -> bool
Whether the resource node has resources.
try_get_resource
fn try_get_resource(self: &Self, key: &ResourceKey, theme: Option<&ThemeVariant>) -> Option<ResourceValue>
Tries to find a resource within the node.
Returns Some with the resource if it was found. See the theme
dictionaries of a resource dictionary for how theme is used.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.