MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / eq

Method eq

aiscript-arena/src/lock.rs:193–195  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

191impl<T: PartialEq + Copy> PartialEq for Lock<T> {
192 #[inline]
193 fn eq(&self, other: &Self) -> bool {
194 self.get() == other.get()
195 }
196}
197
198// 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