Skip to main content

Crate depends_rs_core

Crate depends_rs_core 

Source
Expand description

Pure syntax transformations for the depends-rs procedural macros.

Expansion state travels in tokens. This crate does not read source files, resolve Rust names, inspect function bodies, or keep a global registry.

Structs§

DependencyPath
A path to one borrowed leaf, or to an aggregate of borrowed leaves.
GenericSlot
A field path occupied by a type parameter. The index follows type parameter order, without counting lifetime or const parameters.
LifetimeShape
Parameter order and field-to-parameter relationships for an opt-in type.
LifetimeSlot
One leaf and the lifetime parameter (or explicit static lifetime) it uses.
OpaqueSlot
A field whose internals are outside the metadata contract.

Enums§

DependencySource
Relation
A signature contract. Neither relation describes runtime provenance.

Functions§

continue_expansion
expand_depends
expand_lifetimes