Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscriptdev/aiscript
/ try_borrow
Method
try_borrow
aiscript-arena/src/lock.rs:273–275 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
271
272
#[inline]
273
pub fn try_borrow(self) -> Result<Ref<'gc, T>, BorrowError> {
274
RefLock::try_borrow(self.as_ref())
275
}
276
277
#[track_caller]
278
#[inline]
Callers
1
fmt
Method · 0.80
Calls
1
as_ref
Method · 0.45
Tested by
no test coverage detected