pub struct ManifestContext {
    pub visited_source_ids: HashSet<String>,
    pub root_component_id: String,
    pub component_definitions: Vec<ComponentDefinition>,
    pub template_map: HashMap<String, String>,
    pub all_property_definitions: HashMap<String, Vec<PropertyDefinition>>,
}

Fields

visited_source_ids: HashSet<String>

Used to track which files/sources have been visited during parsing, to prevent duplicate parsing

root_component_id: Stringcomponent_definitions: Vec<ComponentDefinition>template_map: HashMap<String, String>all_property_definitions: HashMap<String, Vec<PropertyDefinition>>

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.