MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / clone

Method clone

aiscript-arena/src/lock.rs:185–187  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

183impl<T: Copy> Clone for Lock<T> {
184 #[inline]
185 fn clone(&self) -> Self {
186 Self::new(self.get())
187 }
188}
189
190// Can't use `#[derive]` because of the non-standard bounds.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected