Instance Subscriptswift 6.0.3Swift
subscript(_:)
subscript(position: Dictionary<Key, Value>.Index) -> Dictionary<Key, Value>.Values.Element { get set }
subscript(position: Dictionary<Key, Value>.Index) -> Dictionary<Key, Value>.Values.Element { get set }
import Swift
@frozen struct Values
A view of a dictionary’s values.
@frozen struct Dictionary<Key, Value> where Key : Hashable
A collection whose elements are key-value pairs.
@frozen struct Index
The position of a key-value pair in a dictionary.
var count: Int { get }
The number of values in the dictionary.
var debugDescription: String { get }
var description: String { get }
var endIndex: Dictionary<Key, Value>.Index { get }
var isEmpty: Bool { get }
var startIndex: Dictionary<Key, Value>.Index { get }
func formIndex(after i: inout Dictionary<Key, Value>.Index)
func index(after i: Dictionary<Key, Value>.Index) -> Dictionary<Key, Value>.Index
func makeIterator() -> Dictionary<Key, Value>.Values.Iterator
mutating func swapAt(_ i: Dictionary<Key, Value>.Index, _ j: Dictionary<Key, Value>.Index)
@frozen struct Iterator
typealias Element = Value