Struct pax_compiler_api::ManifestContext
source · [−]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: String
component_definitions: Vec<ComponentDefinition>
template_map: HashMap<String, String>
all_property_definitions: HashMap<String, Vec<PropertyDefinition>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ManifestContext
impl Send for ManifestContext
impl Sync for ManifestContext
impl Unpin for ManifestContext
impl UnwindSafe for ManifestContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more