pub struct TextNode<'a> {
pub text: Cow<'a, str>,
}
Expand description
The struct to represent an HTML text node.
Fields§
§text: Cow<'a, str>
Trait Implementations§
impl<'a> Eq for TextNode<'a>
impl<'a> StructuralPartialEq for TextNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextNode<'a>
impl<'a> RefUnwindSafe for TextNode<'a>
impl<'a> Send for TextNode<'a>
impl<'a> Sync for TextNode<'a>
impl<'a> Unpin for TextNode<'a>
impl<'a> UnwindSafe for TextNode<'a>
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