Storage
@usableFromInline
enum Storage
extension _TinyArray.Storage: RandomAccessCollection
extension _TinyArray.Storage: Equatable where Element: Equatable
extension _TinyArray.Storage: Hashable where Element: Hashable
extension _TinyArray.Storage: Sendable where Element: Sendable
-
Declaration
Swift
@inlinable subscript(position: Int) -> Element { get } -
Declaration
Swift
@inlinable var startIndex: Int { get } -
Declaration
Swift
@inlinable var endIndex: Int { get } -
Declaration
Swift
@inlinable init(_ elements: some Sequence<Element>) -
Declaration
Swift
@inlinable init(_ newElements: some Sequence<Result<Element, some Error>>) throws -
Declaration
Swift
@inlinable init() -
Declaration
Swift
@inlinable mutating func append(_ newElement: Element) -
Declaration
Swift
@inlinable mutating func append(contentsOf newElements: some Sequence<Element>) -
Declaration
Swift
@discardableResult @inlinable mutating func remove(at index: Int) -> Element -
Declaration
Swift
@inlinable mutating func removeAll(where shouldBeRemoved: (Element) throws -> Bool) rethrows -
Declaration
-
Declaration
Swift
@inlinable static func == (lhs: `Self`, rhs: `Self`) -> Bool
-
Declaration
Swift
@inlinable func hash(into hasher: inout Hasher)
View on GitHub