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

Method new

src/entity/compact_list.rs:24–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 /// Creates a new empty list.
23 #[must_use]
24 pub const fn new() -> Self {
25 Self {
26 start: 0,
27 end: 0,
28 marker: PhantomData,
29 }
30 }
31
32 /// Creates a new list from an iterator.
33 pub fn from_iter<I>(iter: I, pool: &mut CompactListPool<T>) -> Self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected