Instance Subscriptswift-bson 1.0.0BSONEncoding->BSONABI
subscript(_:)
BSON.ListEncoder.swift:37subscript(_: (BSON.EndIndex) -> Void) -> BSON.FieldEncoder { get set } subscript(_: (BSON.EndIndex) -> Void) -> BSON.FieldEncoder { get set } s7BSONABI4BSONO12BSONEncodingE11ListEncoderVyAC05FieldE0VyAC8EndIndexOXEcip What are these?7H3OEimport BSONABIModels the BSON type system and the binary interface of the BSON serialization format.
import BSONEncodingImplements the BSON encoding system.
@frozen struct ListEncoderA type that can encode BSON list elements directly to an output buffer.
@frozen enum BSONThe namespace for all BSON types.
@frozen enum EndIndexA syntactical abstraction used to express the “end index” of a list or document. This type has no inhabitants.
typealias Void = ()The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ().
@frozen struct FieldEncoderA type that can serialize any BSON container element.
init(_ output: BSON.Output) static var frame: BSON.DocumentFrame { get }subscript<Encodable>(_: (BSON.EndIndex) -> Void) -> Encodable? where Encodable : BSONEncodable { get set } Appends a value to the list if non-nil, does nothing otherwise.
mutating func callAsFunction(_ yield: (inout BSON.ListEncoder) -> ()) A shorthand for eliding the [+] index specifier.
mutating func callAsFunction<CodingKey>(_: CodingKey.Type = CodingKey.self, _ yield: (inout BSON.DocumentEncoder<CodingKey>) -> ()) where CodingKey : RawRepresentable, CodingKey.RawValue == String A shorthand for eliding the [+] index specifier.
consuming func move() -> BSON.Output