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

Method new

src/entity/base.rs:45–47  ·  view source on GitHub ↗
(from: T, to: T)

Source from the content-addressed store, hash-verified

43 /// Creates a new range.
44 #[inline]
45 pub const fn new(from: T, to: T) -> Self {
46 Self { from, to }
47 }
48
49 /// Returns the index of the last element in the range.
50 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected