pub(crate) unsafe fn trusted_len_unzip<I, P, T>(iterator: I) -> (Buffer, Buffer)
Expand description
Creates two [Buffer
]s from an iterator of Option
.
The first buffer corresponds to a bitmap buffer, the second one
corresponds to a values buffer.
ยงSafety
The caller must ensure that iterator
is TrustedLen
.