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

Method borrow

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

Source from the content-addressed store, hash-verified

256
257impl<T: DeviceCopy> Borrow<T> for UnifiedBox<T> {
258 fn borrow(&self) -> &T {
259 &**self
260 }
261}
262impl<T: DeviceCopy> BorrowMut<T> for UnifiedBox<T> {
263 fn borrow_mut(&mut self) -> &mut T {

Callers 15

llvm_typeMethod · 0.80
pointee_info_atMethod · 0.80
should_overrideFunction · 0.80
module_codegenFunction · 0.80
get_paramMethod · 0.80
const_cstrMethod · 0.80
get_staticMethod · 0.80
static_addr_ofMethod · 0.80
declare_intrinsicMethod · 0.80
create_used_variableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected