Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
191
impl<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
get
Method · 0.45
Tested by
no test coverage detected