pub struct MergedElement {
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<MergedCategory>,
pub permitted_child_elements: Vec<String>,
}
Expand description
The final source of truth we used to generate code from.
Created by combining all of the previously parsed data.
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<MergedCategory>
§permitted_child_elements: Vec<String>
Trait Implementations§
Source§impl Clone for MergedElement
impl Clone for MergedElement
Source§fn clone(&self) -> MergedElement
fn clone(&self) -> MergedElement
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 MergedElement
impl Debug for MergedElement
Source§impl<'de> Deserialize<'de> for MergedElement
impl<'de> Deserialize<'de> for MergedElement
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 MergedElement
impl RefUnwindSafe for MergedElement
impl Send for MergedElement
impl Sync for MergedElement
impl Unpin for MergedElement
impl UnwindSafe for MergedElement
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