Expand description
Attribute definition and usage metadata. Field helper type used by the query macros.
The Field<S> type is a small, const-friendly wrapper around a 16-byte
attribute id (RawId) and a phantom type parameter S indicating the value
schema for that attribute. We keep construction simple and const-friendly so
fields can be declared as pub const F: Field<ShortString> = Field::from(hex!("..."));.
Re-exports§
pub use crate::id::RawId as RawIdAlias;
Structs§
- Attribute
- A typed reference to an attribute id together with its value schema.
- Attribute
Usage - Describes a concrete usage of an attribute in source code.
- Attribute
Usage Source - Source location metadata for attribute usages.