pub fn get_actor_unchecked<T: Actor>(id: &Ustr) -> &mut TExpand description
Returns a mutable reference to the registered actor of type T for the id.
§Safety
This function bypasses Rust’s borrow checker and type safety. Caller must ensure:
- Actor with
idexists in registry. - No other mutable references to the same actor exist.
- Type
Tmatches the actual actor type.
§Panics
Panics if no actor with the specified id is found in the registry.