pub struct Node {
pub name: Name,
pub attrs: Vec<(Name, String)>,
pub text: String,
pub children: Vec<Node>,
}Expand description
Element-only or text-only node; mixed content is rejected by this subset reader.
Fields§
§name: Name§attrs: Vec<(Name, String)>§text: String§children: Vec<Node>Implementations§
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Nodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(Name, String)>: Freeze,
PhantomData<Node>: Freeze,
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Nodewhere
RawVecInner: Send,
impl Sync for Nodewhere
RawVecInner: Sync,
impl Unpin for Node
impl UnsafeUnpin for Nodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(Name, String)>: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
impl UnwindSafe for Nodewhere
RawVecInner: UnwindSafe,
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