Struct markup5ever_rcdom::Node
source · pub struct Node {
pub parent: Cell<Option<WeakHandle>>,
pub children: RefCell<Vec<Handle>>,
pub data: NodeData,
}
Expand description
A DOM node.
Fields§
§parent: Cell<Option<WeakHandle>>
Parent node.
children: RefCell<Vec<Handle>>
Child nodes of this node.
data: NodeData
Represents this node’s data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Node
impl !RefUnwindSafe for Node
impl !Send for Node
impl !Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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