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
Auto Trait Implementations§
impl Freeze for ParsedElement
impl RefUnwindSafe for ParsedElement
impl Send for ParsedElement
impl Sync for ParsedElement
impl Unpin for ParsedElement
impl UnwindSafe for ParsedElement
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