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

Method get

aiscript-arena/src/lock.rs:144–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142impl<'gc, T: Copy + 'gc> Gc<'gc, Lock<T>> {
143 #[inline]
144 pub fn get(self) -> T {
145 self.cell.get()
146 }
147
148 #[inline]
149 pub fn set(self, mc: &Mutation<'gc>, t: T) {

Callers 15

traceMethod · 0.45
cloneMethod · 0.45
eqMethod · 0.45
partial_cmpMethod · 0.45
cmpMethod · 0.45
vtableMethod · 0.45
nextMethod · 0.45
colorMethod · 0.45
needs_traceMethod · 0.45
is_liveMethod · 0.45
setFunction · 0.45
set_boolFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected