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

Method borrow

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

Source from the content-addressed store, hash-verified

266 #[track_caller]
267 #[inline]
268 pub fn borrow(self) -> Ref<'gc, T> {
269 RefLock::borrow(self.as_ref())
270 }
271
272 #[inline]
273 pub fn try_borrow(self) -> Result<Ref<'gc, T>, BorrowError> {

Callers 15

traceMethod · 0.45
traceMethod · 0.45
gray_remainingMethod · 0.45
fmtMethod · 0.45
equalsMethod · 0.45
is_errorMethod · 0.45
to_serde_valueMethod · 0.45
fromMethod · 0.45
generate_matchMethod · 0.45
generate_functionMethod · 0.45
validate_enum_variantMethod · 0.45
to_json_valueFunction · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected