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

Method as_ref

crates/rustc_codegen_spirv/src/attr.rs:37–39  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

35
36impl AsRef<[u32]> for ExecutionModeExtra {
37 fn as_ref(&self) -> &[u32] {
38 &self.args[..self.len as _]
39 }
40}
41
42#[derive(Clone, Debug)]

Callers 15

find_libFunction · 0.45
newMethod · 0.45
runFunction · 0.45
parseMethod · 0.45
newMethod · 0.45
linkFunction · 0.45
link_rlibFunction · 0.45
link_exeFunction · 0.45
add_upstream_rust_cratesFunction · 0.45
src_loc_to_rustcMethod · 0.45
select_function_by_idMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected