struct TreeNodeInner {
pub guid: Uuid,
pub name: String,
children: Vec<Rc<RefCell<TreeNodeInner>>>,
parent: Option<Weak<RefCell<TreeNodeInner>>>,
tree: Option<Weak<RefCell<Tree>>>,
}
Fields§
§guid: Uuid
§name: String
§children: Vec<Rc<RefCell<TreeNodeInner>>>
§parent: Option<Weak<RefCell<TreeNodeInner>>>
§tree: Option<Weak<RefCell<Tree>>>
Trait Implementations§
Source§impl Clone for TreeNodeInner
impl Clone for TreeNodeInner
Source§fn clone(&self) -> TreeNodeInner
fn clone(&self) -> TreeNodeInner
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 TreeNodeInner
impl !RefUnwindSafe for TreeNodeInner
impl !Send for TreeNodeInner
impl !Sync for TreeNodeInner
impl Unpin for TreeNodeInner
impl !UnwindSafe for TreeNodeInner
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