pub struct MindmapNode {
pub text: String,
pub children: Vec<MindmapNode>,
}Expand description
A single node in a Mindmap tree.
text is the display label (stripped of any shape bracket syntax);
children is the ordered list of immediate child nodes.
Fields§
§text: String§children: Vec<MindmapNode>Implementations§
Source§impl MindmapNode
impl MindmapNode
Trait Implementations§
Source§impl Clone for MindmapNode
impl Clone for MindmapNode
Source§fn clone(&self) -> MindmapNode
fn clone(&self) -> MindmapNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MindmapNode
impl Debug for MindmapNode
Source§impl Default for MindmapNode
impl Default for MindmapNode
Source§fn default() -> MindmapNode
fn default() -> MindmapNode
Returns the “default value” for a type. Read more
Source§impl PartialEq for MindmapNode
impl PartialEq for MindmapNode
Source§fn eq(&self, other: &MindmapNode) -> bool
fn eq(&self, other: &MindmapNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MindmapNode
impl StructuralPartialEq for MindmapNode
Auto Trait Implementations§
impl Freeze for MindmapNode
impl RefUnwindSafe for MindmapNode
impl Send for MindmapNode
impl Sync for MindmapNode
impl Unpin for MindmapNode
impl UnsafeUnpin for MindmapNode
impl UnwindSafe for MindmapNode
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