Struct html_bindgen::parse::ParsedElement
source · pub struct ParsedElement {
pub tag_name: String,
pub struct_name: String,
pub submodule_name: String,
pub mdn_link: String,
pub has_global_attributes: bool,
pub has_closing_tag: bool,
pub attributes: Vec<Attribute>,
pub dom_interface: String,
pub content_categories: Vec<ParsedCategory>,
pub permitted_content: Vec<ParsedRelationship>,
pub permitted_parents: Vec<ParsedRelationship>,
}Expand description
The parsed values converted from the raw spec
Fields§
§tag_name: String§struct_name: String§submodule_name: String§mdn_link: String§has_global_attributes: bool§has_closing_tag: bool§attributes: Vec<Attribute>§dom_interface: String§content_categories: Vec<ParsedCategory>§permitted_content: Vec<ParsedRelationship>§permitted_parents: Vec<ParsedRelationship>Trait Implementations§
source§impl Clone for ParsedElement
impl Clone for ParsedElement
source§fn clone(&self) -> ParsedElement
fn clone(&self) -> ParsedElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ParsedElement
impl Debug for ParsedElement
source§impl<'de> Deserialize<'de> for ParsedElement
impl<'de> Deserialize<'de> for ParsedElement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more