pub struct BoxTreeNode {
pub id: NodeId,
pub kind: NodeKind,
pub style: ComputedStyle,
pub children: Vec<NodeId>,
pub parent: Option<NodeId>,
}Expand description
A single node in the box tree.
Fields§
§id: NodeId§kind: NodeKind§style: ComputedStyle§children: Vec<NodeId>§parent: Option<NodeId>Implementations§
Source§impl BoxTreeNode
impl BoxTreeNode
Trait Implementations§
Source§impl Clone for BoxTreeNode
impl Clone for BoxTreeNode
Source§fn clone(&self) -> BoxTreeNode
fn clone(&self) -> BoxTreeNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BoxTreeNode
impl RefUnwindSafe for BoxTreeNode
impl Send for BoxTreeNode
impl Sync for BoxTreeNode
impl Unpin for BoxTreeNode
impl UnwindSafe for BoxTreeNode
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