Struct html_node_core::Text
source · pub struct Text {
pub text: String,
}
Expand description
A text node.
<div>
I'm a text node!
</div>
Fields§
§text: String
The text of the node.
<div>
text
</div>
Trait Implementations§
source§impl PartialEq<Text> for Text
impl PartialEq<Text> for Text
impl Eq for Text
impl StructuralEq for Text
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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