struct MenuID
Swift
struct MenuID
Stable identity for a menu or menu item across rebuilds.
Prefer explicit ids when actions or automation care about a leaf
(MenuItem("Save", id: "file.save")). When omitted, resolve assigns a path
from titles (file/save) and de-duplicates with a numeric suffix.
Sources/LavaMenu/Menu.swift:31
Constructors
init(_ raw: String)
Wraps a string id.
Sources/LavaMenu/Menu.swift:36
Properties
var description: String { get }
The raw string.
Sources/LavaMenu/Menu.swift:41
var raw: String
The id as a string, such as file/save.
Sources/LavaMenu/Menu.swift:33