Re-exports§
pub use function_pointer::FunctionPointer;pub use function_pointer::FunctionPointerInput;
Modules§
Structs§
- Array
- A Rust fixed-size array—e.g.
[u8; 4]. - Callable
Input - A named input parameter of a
Callable. - Canonical
Type - A
Typewith canonicalized names for lifetimes and unassigned generic type parameters. - Const
Generic Argument - A const generic argument with a concrete evaluated value, e.g.
8inSize<8>. - Enum
Variant Constructor Path - Enum
Variant Init - FnHeader
- Fields specific to callables that use function-call syntax.
- Free
Function - Free
Function Path - Generic
- An unassigned generic parameter—e.g.
Tinfn foo<T>(t: T). - Inherent
Method - Inherent
Method Path - Named
Lifetime - A named lifetime (without leading
'). Cannot be"_"or"static". - NoOp
Resolver - A resolver that never rewrites paths. Intended for tests and for the rare call sites
that genuinely have no
CrateCollectionavailable. - Path
Type - A named type identified by its fully-qualified path—e.g.
std::vec::Vec<u32>. - RawPointer
- A Rust raw pointer—e.g.
*const u8or*mut Vec<u8>. - Rust
Identifier - A valid Rust identifier.
- Slice
- A Rust slice—e.g.
[u16]. - Struct
Literal Init - Struct
Literal Path - Trait
Method - Trait
Method Path - Tuple
- A Rust tuple—e.g.
(u8, u16, u32). - Type
Reference - A Rust reference—e.g.
&mut u32or&'static mut Vec<u8>. - Unknown
Primitive - Error returned when trying to convert an unrecognized string into a
ScalarPrimitive.
Enums§
- Callable
- A Rust type that can be invoked—e.g. a function, a method, a struct literal constructor.
- Generic
Argument - A single generic argument supplied to a generic type or function.
- Generic
Lifetime Parameter - A lifetime used as a generic argument—e.g.
'ainCow<'a, str>. - Lifetime
- Scalar
Primitive - A Rust scalar primitive type (e.g.
u32,bool,str). - Type
- A Rust type.
Traits§
- Canonical
Path Resolver - Resolves a
GlobalItemIdto the canonical shortest importable path for that item.