MCPcopy Create free account
hub / github.com/chanced/jsonptr / from

Method from

src/component.rs:12–14  ·  view source on GitHub ↗
(token: Token<'t>)

Source from the content-addressed store, hash-verified

10}
11impl<'t> From<Token<'t>> for Component<'t> {
12 fn from(token: Token<'t>) -> Self {
13 Self::Token(token)
14 }
15}
16
17/// An iterator over the [`Component`]s of a JSON Pointer

Callers

nothing calls this directly

Calls 2

TokenClass · 0.85
tokensMethod · 0.80

Tested by

no test coverage detected