MCPcopy Index your code
hub / github.com/SSheldon/rust-dispatch / clone

Method clone

src/sem.rs:78–83  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

76
77impl Clone for Semaphore {
78 fn clone(&self) -> Self {
79 unsafe {
80 dispatch_retain(self.ptr);
81 }
82 Semaphore { ptr: self.ptr }
83 }
84}
85
86impl Drop for Semaphore {

Callers 4

async_incrementFunction · 0.45
accessMethod · 0.45
access_timeoutMethod · 0.45
promptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected