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

Method borrow_mut

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

Source from the content-addressed store, hash-verified

261}
262impl<T: DeviceCopy> BorrowMut<T> for UnifiedBox<T> {
263 fn borrow_mut(&mut self) -> &mut T {
264 &mut **self
265 }
266}
267impl<T: DeviceCopy> AsRef<T> for UnifiedBox<T> {
268 fn as_ref(&self) -> &T {

Callers 15

predefine_staticMethod · 0.80
predefine_fnMethod · 0.80
llvm_typeMethod · 0.80
pointee_info_atMethod · 0.80
llvm_typeMethod · 0.80
const_cstrMethod · 0.80
get_staticMethod · 0.80
static_addr_ofMethod · 0.80
codegen_staticMethod · 0.80
add_used_globalMethod · 0.80
build_intrinsics_mapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected