Range (ext)
You’re viewing third-party extensions to Range, a struct from the Swift standard library.
You can also read the documentation forRange itself.
extension RangeYou’re viewing third-party extensions to Range, a struct from the Swift standard library.
You can also read the documentation forRange itself.
extension Range@frozen struct Range<Bound> where Bound : ComparableA half-open interval from a lower bound up to, but not including, an upper bound.
import BSONArraysImplements the packed binary array system.
protocol BinaryPackable<Storage>protocol Comparable : EquatableA type that can be compared using the relational operators <, <=, >=, and >.
static func get(_ storage: Storage) -> Range<Bound> consuming func set() -> Storage typealias Storage = (Bound.Storage, Bound.Storage)import BSONAn umbrella module providing a BSON parser, encoder, and decoder.
protocol BSONDecodableA type that can be decoded from a BSON variant value backed by some type of storage not particular to the decoded type.
protocol BSONDocumentDecodable<CodingKey> : BSONDecodableA type that can be decoded from a BSON dictionary-decoder.
init(bson: BSON.DocumentDecoder<CodingKey>) throws If the range is invalid, the initializer throws an error.
init(bson: BSON.AnyValue) throws init(bson: BSON.Document) throws protocol BSONEncodableA type that can be encoded to a BSON variant value.
protocol BSONDocumentEncodable<CodingKey> : BSONEncodableA type that can be encoded to a BSON document. This protocol exists to allow types that define CodingKey to encode themselves using a BSON.DocumentEncoder.
func encode(to bson: inout BSON.DocumentEncoder<CodingKey>) func encode(to field: inout BSON.FieldEncoder) @frozen enum CodingKeyThe default BSON representation of a Range, which is a BSON document keyed by M (lowerBound) and V (upperBound).