pub struct Node {Show 13 fields
pub rooted_coords: Coords,
pub parent_id: NodeID,
pub id: NodeID,
pub content: String,
pub children: Vec<NodeID>,
pub selected: bool,
pub collapsed: bool,
pub stricken: bool,
pub hide_stricken: bool,
pub meta: Meta,
pub free_text: Option<String>,
pub color: String,
pub auto_arrange: bool,
}
Fields
rooted_coords: Coords
parent_id: NodeID
id: NodeID
content: String
children: Vec<NodeID>
selected: bool
collapsed: bool
stricken: bool
hide_stricken: bool
meta: Meta
free_text: Option<String>
color: String
auto_arrange: bool
Implementations
sourceimpl Node
impl Node
pub fn toggle_collapsed(&mut self)
pub fn toggle_stricken(&mut self)
pub fn toggle_hide_stricken(&mut self)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more