MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / visit_seq

Method visit_seq

src/entity/set.rs:326–337  ·  view source on GitHub ↗
(self, mut seq: A)

Source from the content-addressed store, hash-verified

324
325 #[inline]
326 fn visit_seq<A>(self, mut seq: A) -> Result<Self::Value, A::Error>
327 where
328 A: serde::de::SeqAccess<'de>,
329 {
330 let mut values = EntitySet::new();
331
332 while let Some(value) = seq.next_element()? {
333 values.insert(value);
334 }
335
336 Ok(values)
337 }
338 }
339
340 let visitor = SeqVisitor {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected