SettingPatch

sealed interface SettingPatch<out T>

Three-state value used by typed settings patches.

Inheritors

Types

Link copied to clipboard
data object Clear : SettingPatch<Nothing>

Remove an optional value and restore its default behavior.

Link copied to clipboard
data class Set<T>(val value: T) : SettingPatch<T>

Replace a setting with value.

Link copied to clipboard

Leave the current value unchanged.