类型 NativeSelectSelection

API 文档由 Go 源码生成,内容为英文。

type NativeSelectSelection struct {
	Index int
	Valid bool
}

NativeSelectSelection explicitly distinguishes option zero from no selection. Index addresses the current Options snapshot only.