Instance Methodswift 6.0.1Swift
insert(_:)
@discardableResult mutating func insert<ConcreteElement>(_ newMember: ConcreteElement) -> (inserted: Bool, memberAfterInsert: ConcreteElement) where ConcreteElement : Hashable
@discardableResult mutating func insert<ConcreteElement>(_ newMember: ConcreteElement) -> (inserted: Bool, memberAfterInsert: ConcreteElement) where ConcreteElement : Hashable
sShss11AnyHashableVRszrlE6insertySb8inserted_qd__17memberAfterInserttqd__nSHRd__lF
What are these?
FNV24: [YAR4]
where Element == AnyHashable
import Swift
@frozen struct Set<Element> where Element : Hashable
An unordered collection of unique elements.
@frozen struct Bool
A value type whose instances are either true
or false
.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
@frozen struct AnyHashable
A type-erased hashable value.
@discardableResult mutating func remove<ConcreteElement>(_ member: ConcreteElement) -> ConcreteElement? where ConcreteElement : Hashable
@discardableResult mutating func update<ConcreteElement>(with newMember: ConcreteElement) -> ConcreteElement? where ConcreteElement : Hashable