Skip to main content

container_value

Function container_value 

Source
pub fn container_value<T: KeyValue>(
    view: &ViewHandle,
    key: &CustomContainerKey<T>,
    value: impl IntoKeyValue<T>,
) -> ViewHandle
Expand description

.containerValue(\.key, value) for a key defined here.

What the @_alwaysEmitIntoClient modifier’s body does, since the modifier itself exports no symbol: build a _ContainerValueWritingModifier and apply it with .modifier(_:).