pub struct ModelData {
pub tag_contents: Vec<(String, Vec<String>)>,
pub tag_attributes: Vec<(String, Vec<String>)>,
pub schema_classes: Vec<(String, Vec<String>)>,
pub namespaces: Vec<(String, String)>,
}Expand description
The tables Relaxng::compute_model_data distils out of a scanned schema,
ready to be pushed into the runtime Model (add_tag_content /
add_tag_attribute / set_schema_class / register_document_namespace).
Fields§
§tag_contents: Vec<(String, Vec<String>)>§tag_attributes: Vec<(String, Vec<String>)>§schema_classes: Vec<(String, Vec<String>)>§namespaces: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelData
impl RefUnwindSafe for ModelData
impl Send for ModelData
impl Sync for ModelData
impl Unpin for ModelData
impl UnsafeUnpin for ModelData
impl UnwindSafe for ModelData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more