MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / as_ref

Method as_ref

crates/rustc_codegen_spirv/src/linker/specializer.rs:323–328  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

321
322impl<GA> Instance<GA> {
323 fn as_ref(&self) -> Instance<&GA> {
324 Instance {
325 generic_id: self.generic_id,
326 generic_args: &self.generic_args,
327 }
328 }
329
330 fn map_generic_args<T, U, GA2>(self, f: impl FnMut(T) -> U) -> Instance<GA2>
331 where

Callers 15

linkFunction · 0.45
has_dont_inlineFunction · 0.45
should_inlineFunction · 0.45
assemble_spirvFunction · 0.45
index_getMethod · 0.45
to_concreteMethod · 0.45
collect_genericsMethod · 0.45
instantiate_functionMethod · 0.45
get_type_mapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected