MCPcopy Create free account
hub / github.com/Lymia/enumset / next

Method next

enumset/src/impl_set.rs:609–613  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

607 type Item = T;
608
609 fn next(&mut self) -> Option<Self::Item> {
610 self.iter
611 .next()
612 .map(|x| unsafe { T::enum_from_u32_checked(x) })
613 }
614 fn size_hint(&self) -> (usize, Option<usize>) {
615 self.iter.size_hint()
616 }

Callers 2

map_compactMethod · 0.45
formatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected