Instance Method (Default implementation)swift-bson 0.3.1BSONEncoding

encode(to:)

Returns the encode(to:) witness of this type’s rawValue.

BSONEncodable.swift:22
func encode(to field: inout BSON.FieldEncoder)