Skip to main content

Module rust

Expand description

Cargo-root and module ownership for Rust static bindings.

StructsΒ§

Membership πŸ”’
Cached membership retains causes even when ownership is unproved.
Module πŸ”’
Filesystem placement is independent from a module’s logical crate address.
Request πŸ”’
Cache key retains source syntax, inline owner and call/import meaning.
RootCandidate πŸ”’
One admitted Cargo root and its optional shared sibling invalidation cause.
RootDirectoryCandidates πŸ”’
Physical directories narrow ownership before following actual module declarations.
RootMembershipIndex πŸ”’
One manifest-local index shares the already admitted, sorted root inventory.
RustResolver πŸ”’
Bounded query caches reuse the existing source capture and entity hydration.
Slots πŸ”’
Preindexed source slots avoid a whole-file scan for every call.

EnumsΒ§

Namespace πŸ”’
Rust value and module namespaces can share a spelling.
Selection πŸ”’
Actual selected declaration or source module, never a callable file marker.

FunctionsΒ§

candidate_path πŸ”’
Layout only narrows candidates; actual module declarations establish membership.
join πŸ”’
Join canonical relative components without inventing a leading separator.
module_bytes πŸ”’
Conservative owned module payload, including shared inline-path capacity.
parent πŸ”’
Borrow the directory of a canonical repository path.
resolve_rust_bindings πŸ”’
Resolve native Rust calls and dependencies with actual Cargo ownership evidence.
selection_visible πŸ”’
A public alias cannot expose an item whose own visibility excludes the caller.
visible πŸ”’
Private values remain visible to descendants, including child root-function imports.

Type AliasesΒ§

RootModuleCandidates πŸ”’
Top-level module spelling selects only roots that could own that module.