struct State
Swift
@propertyWrapper struct State<Value>
A source of truth owned by a view, surviving that view being rebuilt.
Sources/LavaUI/State.swift:44
Constructors
init(wrappedValue: Value)
Not documented.
Sources/LavaUI/State.swift:47
Properties
var projectedValue: Binding<Value> { get }
$value — a read/write reference for child views.
Sources/LavaUI/State.swift:57
var wrappedValue: Value { get nonmutating set }
Not documented.
Sources/LavaUI/State.swift:51