swr/rast: Separate event types to public and private