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.
  • Returns an error if the component is already borrowed.