MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / next

Method next

crates/sats/src/array_value.rs:293–315  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

291 type Item = AlgebraicValue;
292
293 fn next(&mut self) -> Option<Self::Item> {
294 match self {
295 ArrayValueIntoIter::Sum(it) => it.next().map(Into::into),
296 ArrayValueIntoIter::Product(it) => it.next().map(Into::into),
297 ArrayValueIntoIter::Bool(it) => it.next().map(Into::into),
298 ArrayValueIntoIter::I8(it) => it.next().map(Into::into),
299 ArrayValueIntoIter::U8(it) => it.next().map(Into::into),
300 ArrayValueIntoIter::I16(it) => it.next().map(Into::into),
301 ArrayValueIntoIter::U16(it) => it.next().map(Into::into),
302 ArrayValueIntoIter::I32(it) => it.next().map(Into::into),
303 ArrayValueIntoIter::U32(it) => it.next().map(Into::into),
304 ArrayValueIntoIter::I64(it) => it.next().map(Into::into),
305 ArrayValueIntoIter::U64(it) => it.next().map(Into::into),
306 ArrayValueIntoIter::I128(it) => it.next().map(Into::into),
307 ArrayValueIntoIter::U128(it) => it.next().map(Into::into),
308 ArrayValueIntoIter::I256(it) => it.next().map(Into::into),
309 ArrayValueIntoIter::U256(it) => it.next().map(Into::into),
310 ArrayValueIntoIter::F32(it) => it.next().map(Into::into),
311 ArrayValueIntoIter::F64(it) => it.next().map(Into::into),
312 ArrayValueIntoIter::String(it) => it.next().map(Into::into),
313 ArrayValueIntoIter::Array(it) => it.next().map(Into::into),
314 }
315 }
316}
317
318pub enum ArrayValueIterCloned<'a> {

Callers

nothing calls this directly

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected