Contents

insert(_:for:)

Inserts a view of the value as the input with the specified name.

Declaration

mutating func insert(_ value: borrowing some InferenceValue.ViewRepresentable & ~Copyable, for inputName: String)

Parameters

  • value:

    The value to borrow as an input.

  • inputName:

    The name of the input to set.

See Also

Adding inputs