pub enum Content {
Document,
Element(Element),
Comment {
text: String,
},
ProcessingInstruction {
target: String,
data: String,
},
Text {
text: String,
},
DocType {
name: String,
public_id: String,
system_id: String,
},
}
Expand description
Represents the node content in the DOM tree
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Content
impl !Send for Content
impl !Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
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