pub struct Node {
pub id: u8,
pub subtype: u16,
pub next: NodeRef,
pub prev: NodeRef,
pub attr: Option<AttrList>,
pub data: NodeData,
}Expand description
A node.
Fields§
§id: u8The type id.
subtype: u16The subtype.
next: NodeRefNext node in the list.
prev: NodeRefPrevious node in the list.
attr: Option<AttrList>Attributes.
data: NodeDataType-specific data.
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl !Send for Node
impl !Sync for Node
impl Freeze for Node
impl RefUnwindSafe for Node
impl Unpin for Node
impl UnsafeUnpin 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