pub enum HtmlNode {
Element(Element),
Text(Text),
Comment(String),
}Expand description
HTML 节点
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HtmlNode
impl<'de> Deserialize<'de> for HtmlNode
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
impl Eq for HtmlNode
impl StructuralPartialEq for HtmlNode
Auto Trait Implementations§
impl Freeze for HtmlNode
impl RefUnwindSafe for HtmlNode
impl Send for HtmlNode
impl Sync for HtmlNode
impl Unpin for HtmlNode
impl UnwindSafe for HtmlNode
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