MarkedCircularBuffer (ext)
You’re viewing third-party extensions to MarkedCircularBuffer, a struct from swift-nio.
You can also read the documentation forMarkedCircularBuffer itself.
extension MarkedCircularBufferYou’re viewing third-party extensions to MarkedCircularBuffer, a struct from swift-nio.
You can also read the documentation forMarkedCircularBuffer itself.
extension MarkedCircularBufferstruct MarkedCircularBuffer<Element>A circular buffer that allows one object at a time to be “marked” and easily identified and retrieved later.
import MultipartKitParser, serializer, and Codable support for multipart/form-data.
protocol CopyableA type whose values can be implicitly or explicitly copied.
protocol Escapablefunc compare<Comparator>(_ lhs: Comparator.Compared, _ rhs: Comparator.Compared) -> ComparisonResult where Comparator : SortComparator, Comparator == Self.Element If lhs is ordered before rhs in the ordering described by the given sequence of SortComparators
func filter(_ predicate: Predicate<Self.Element>) throws -> [Self.Element] func formatted() -> String func formatted<S>(_ style: S) -> S.FormatOutput where Self == S.FormatInput, S : FormatStyle mutating func sort<Comparator>(using comparator: Comparator) where Comparator : SortComparator, Self.Element == Comparator.Compared Sorts the collection using the given comparator to compare elements.
mutating func sort<S, Comparator>(using comparators: S) where S : Sequence, Comparator : SortComparator, Comparator == S.Element, Self.Element == Comparator.Compared Sorts the collection using the given array of SortComparators to compare elements.
func sorted<Comparator>(using comparator: Comparator) -> [Self.Element] where Comparator : SortComparator, Self.Element == Comparator.Compared Returns the elements of the sequence, sorted using the given comparator to compare elements.
func sorted<S, Comparator>(using comparators: S) -> [Self.Element] where S : Sequence, Comparator : SortComparator, Comparator == S.Element, Self.Element == Comparator.Compared Returns the elements of the sequence, sorted using the given array of SortComparators to compare elements.