MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / new

Method new

tests/binary/generics/src/main.rs:19–21  ·  view source on GitHub ↗
(first: T, second: U)

Source from the content-addressed store, hash-verified

17
18impl<T, U> Pair<T, U> {
19 fn new(first: T, second: U) -> Self {
20 Pair { first, second }
21 }
22
23 fn flip(self) -> Pair<U, T> {
24 Pair {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected