pub struct TextNode {
pub text: String,
pub listeners: FxHashSet<String>,
}
Expand description
A text node in the RealDom
Fields§
§text: String
The text of the node
listeners: FxHashSet<String>
The events the node is listening for
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextNode
impl RefUnwindSafe for TextNode
impl Send for TextNode
impl Sync for TextNode
impl Unpin for TextNode
impl UnwindSafe for TextNode
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