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

Method as_ref

crates/cust/src/memory/unified.rs:268–270  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

266}
267impl<T: DeviceCopy> AsRef<T> for UnifiedBox<T> {
268 fn as_ref(&self) -> &T {
269 &**self
270 }
271}
272impl<T: DeviceCopy> AsMut<T> for UnifiedBox<T> {
273 fn as_mut(&mut self) -> &mut T {

Callers 15

newMethod · 0.45
build_argsMethod · 0.45
copy_toMethod · 0.45
fmtMethod · 0.45
nodesMethod · 0.45
dump_debug_dotfileMethod · 0.45
add_kernel_nodeMethod · 0.45
path_to_bytesFunction · 0.45
from_cubinMethod · 0.45
from_ptxMethod · 0.45
from_strMethod · 0.45
get_functionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected