Function get_actor_unchecked

Source
pub fn get_actor_unchecked<T: Actor>(id: &Ustr) -> &mut T
Expand description

Returns a mutable reference to the registered actor of type T for the given id.

§Panics

Panics if no actor with the specified id is found in the registry.