MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / get

Method get

crates/rustc_codegen_nvvm/src/debug_info/metadata.rs:121–123  ·  view source on GitHub ↗

Get the symbol as a string. `Symbol::as_str()` should be used in preference to this function.

(&self, symbol: UniqueTypeId)

Source from the content-addressed store, hash-verified

119 // Get the symbol as a string. `Symbol::as_str()` should be used in
120 // preference to this function.
121 pub(super) fn get(&self, symbol: UniqueTypeId) -> &str {
122 self.strings[symbol.0 as usize]
123 }
124 }
125}
126use unique_type_id::*;

Callers 15

llvm_typeMethod · 0.45
pointee_info_atMethod · 0.45
apply_attrs_callsiteMethod · 0.45
get_paramMethod · 0.45
internalize_passFunction · 0.45
const_cstrMethod · 0.45
get_staticMethod · 0.45
static_addr_ofMethod · 0.45
declare_intrinsicMethod · 0.45
get_intrinsicMethod · 0.45
get_fnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected