pub fn set_state<'a, T: Into<AkID<'a>>>(
    state_group: T,
    state_id: T
) -> Result<(), AkResult>
Expand description

Sets the state of a State Group.

Return

Panics if state_group and state_id are not of the same variant.