Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanced/jsonptr
/ get
Method
get
src/pointer/slice.rs:14–16 ·
view source on GitHub ↗
(self, pointer: &'p Pointer)
Source
from the content-addressed store, hash-verified
12
type Output = Token<'p>;
13
14
fn get(self, pointer: &'p Pointer) -> Option<Self::Output> {
15
pointer.tokens().nth(self)
16
}
17
}
18
19
impl<
'p> PointerIndex<'
p> for core::ops::Range<usize> {
Callers
8
get_single
Function · 0.45
get_range
Function · 0.45
get_from_range
Function · 0.45
get_to_range
Function · 0.45
get_full_range
Function · 0.45
get_range_inclusive
Function · 0.45
get_to_range_inclusive
Function · 0.45
get_by_explicit_bounds
Function · 0.45
Calls
3
tokens
Method · 0.80
len
Method · 0.80
encoded
Method · 0.80
Tested by
8
get_single
Function · 0.36
get_range
Function · 0.36
get_from_range
Function · 0.36
get_to_range
Function · 0.36
get_full_range
Function · 0.36
get_range_inclusive
Function · 0.36
get_to_range_inclusive
Function · 0.36
get_by_explicit_bounds
Function · 0.36