pub enum NodeData {
Document,
Doctype {
name: StrTendril,
public_id: StrTendril,
system_id: StrTendril,
},
Text {
contents: RefCell<StrTendril>,
},
Comment {
contents: StrTendril,
},
Element {
name: QualName,
attrs: RefCell<Vec<Attribute>>,
template_contents: RefCell<Option<Handle>>,
mathml_annotation_xml_integration_point: bool,
},
ProcessingInstruction {
target: StrTendril,
contents: StrTendril,
},
}Variants§
Document
Doctype
Text
Fields
§
contents: RefCell<StrTendril>Comment
Fields
§
contents: StrTendrilElement
Fields
ProcessingInstruction
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for NodeData
impl !RefUnwindSafe for NodeData
impl Send for NodeData
impl !Sync for NodeData
impl Unpin for NodeData
impl UnsafeUnpin for NodeData
impl !UnwindSafe for NodeData
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