Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TennyZhuang/ref-stable-lru
/ functions
Functions
28 in github.com/TennyZhuang/ref-stable-lru
⨍
Functions
28
◇
Types & classes
5
↓ 26 callers
Method
get
(&'cache mut self, k: &K)
src/lib.rs:166
↓ 18 callers
Method
put
(&mut self, k: K, v: V)
src/lib.rs:162
↓ 15 callers
Method
scope
(&'cache mut self, fun: F)
src/lib.rs:94
↓ 7 callers
Method
peek_mut
(&'cache mut self, k: &K)
src/lib.rs:172
↓ 5 callers
Function
assert_opt_eq_mut
(opt: Option<&mut V>, v: V)
src/lib.rs:285
↓ 4 callers
Function
assert_opt_eq
(opt: Option<&V>, v: V)
src/lib.rs:280
↓ 3 callers
Method
attach
Attaches `node` after the sigil `self.head` node.
src/lib.rs:124
↓ 3 callers
Method
detach
(&mut self, node: *mut LruEntry<K, V>)
src/lib.rs:116
↓ 2 callers
Method
len
(&self)
src/lib.rs:108
↓ 1 callers
Method
cap
(&self)
src/lib.rs:112
↓ 1 callers
Method
replace_or_create_node
(&mut self, k: K, v: V)
src/lib.rs:133
Method
drop
(&mut self)
src/lib.rs:180
Method
eq
(&self, other: &KeyRef<K>)
src/lib.rs:32
Method
hash
(&self, state: &mut H)
src/lib.rs:26
Method
is_empty
(&self)
src/lib.rs:199
Function
main
()
tests/ui/concurrent-use-refs.rs:4
Function
main
()
tests/ui/handle-with-wrong-perm.rs:4
Function
main
()
tests/ui/put-while-holding-ref.rs:4
Function
main
()
tests/ui/double-get-in-scope.rs:4
Function
main
()
tests/ui/len-while-holding-mut.rs:4
Function
main
()
tests/ui/double-get-without-scope.rs:4
Function
main
()
tests/ui/drop-handle-while-holding-ref.rs:4
Method
new
(key: K, val: V)
src/lib.rs:49
Method
new_sigil
()
src/lib.rs:58
Function
test_multi_get
()
src/lib.rs:306
Function
test_peek_mut
()
src/lib.rs:326
Function
test_put_and_get
()
src/lib.rs:291
Function
tests
()
tests/ui/test.rs:2