Skip to main content

component_state

Function component_state 

Source
pub fn component_state(id: &Ustr) -> Result<ComponentState>
Expand description

Returns the state of a component in the global registry.

ยงErrors

Returns an error if:

  • The component is not found.
  • The component is already borrowed.