SelectorSetting

inline fun <L : Options, Enum<L>> SelectorSetting(name: String, default: L, visibility: Visibility = Visibility.VISIBLE, description: String? = null): SelectorSetting<L>

This factory function provides a more convenient Constructor for SelectorSetting where options can be omitted. The options are inferred from the provided default value. All available constants will be used.

If you want to limit the options to be a subset of the available constants, use the main constructor and specify those explicitly.