pub struct Recipe { /* private fields */ }Expand description
One informed recipe over caller-owned vocabularies, relations, and selected projections.
Implementations§
Source§impl Recipe
impl Recipe
Sourcepub fn module_name(&self) -> &str
pub fn module_name(&self) -> &str
Reads the authored module name.
Sourcepub const fn module_name_token(&self) -> &GeneratedToken
pub const fn module_name_token(&self) -> &GeneratedToken
Reads the exact ordinary or raw identifier token that names the recipe module.
Sourcepub fn vocabularies(&self) -> impl Iterator<Item = &RecipeVocabulary>
pub fn vocabularies(&self) -> impl Iterator<Item = &RecipeVocabulary>
Reads every informed vocabulary in caller-authored order.
Sourcepub fn vocabulary(&self, name: &str) -> Option<&RecipeVocabulary>
pub fn vocabulary(&self, name: &str) -> Option<&RecipeVocabulary>
Reads one informed vocabulary by its caller-authored name.
Sourcepub fn relations(&self) -> impl Iterator<Item = &RecipeRelation>
pub fn relations(&self) -> impl Iterator<Item = &RecipeRelation>
Reads every informed relation in caller-authored order.
Sourcepub fn relation(&self, name: &str) -> Option<&RecipeRelation>
pub fn relation(&self, name: &str) -> Option<&RecipeRelation>
Reads one informed relation by its caller-authored name.
Sourcepub fn transition_relation(&self) -> Option<&RecipeRelation>
pub fn transition_relation(&self) -> Option<&RecipeRelation>
Reads the relation selected by the ergonomic transition lowering.
Sourcepub fn codecs(&self) -> impl Iterator<Item = &RecipeCodec>
pub fn codecs(&self) -> impl Iterator<Item = &RecipeCodec>
Reads every caller-named codec declaration in authored order.
Sourcepub fn codec(&self, name: &str) -> Option<&RecipeCodec>
pub fn codec(&self, name: &str) -> Option<&RecipeCodec>
Reads one codec declaration by its caller-owned name.
Sourcepub fn projection_disposition(&self, role: RecipeRole) -> ProjectionDisposition
pub fn projection_disposition(&self, role: RecipeRole) -> ProjectionDisposition
Reads the complete public disposition of one possible projection.
Sourcepub fn effective(&self, role: RecipeRole) -> Option<&EffectiveProjection>
pub fn effective(&self, role: RecipeRole) -> Option<&EffectiveProjection>
Reads the effective mechanical configuration for one selected role.
Sourcepub fn evidence(&self, role: RecipeRole) -> Option<&RecipeEvidence>
pub fn evidence(&self, role: RecipeRole) -> Option<&RecipeEvidence>
Reads the exact descriptor-native evidence block for one generated evidence role.