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

Method as_mut

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

Source from the content-addressed store, hash-verified

271}
272impl<T: DeviceCopy> AsMut<T> for UnifiedBox<T> {
273 fn as_mut(&mut self) -> &mut T {
274 &mut **self
275 }
276}
277impl<T: DeviceCopy> Deref for UnifiedBox<T> {
278 type Target = T;

Callers 1

copy_toMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected