Module assets_parser
rapx
0.7.20
Module assets_
parser
Module Items
Structs
Functions
In rapx::
verify::
attribute
rapx
::
verify
::
attribute
Module
assets_
parser
Copy item path
Source
Structs
§
Property
Entry
Structure of JSON entries.
Functions
§
get_
std_
contracts_
from_
assets
Looks up backup contracts for a standard-library function by its normalized path. For trait-method impls, resolves to the trait method’s path first so that all impls share the same contracts.
get_
std_
contracts_
from_
json
🔒
Lazily loads the backup contract database for standard-library APIs.
normalize_
json_
trailing_
commas
🔒
Removes trailing commas that appear immediately before
}
or
]
in JSON text.
resolve_
trait_
method
🔒
If
def_id
is a trait-method implementation, returns the corresponding trait method’s
DefId
; otherwise returns
def_id
unchanged.