pub struct TreeNode<T> {
pub id: String,
pub value: T,
pub children: Vec<TreeNode<T>>,
pub expanded: Signal<bool>,
}Fields§
§id: String§value: T§children: Vec<TreeNode<T>>§expanded: Signal<bool>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TreeNode<T>
impl<T> !Send for TreeNode<T>
impl<T> !Sync for TreeNode<T>
impl<T> !UnwindSafe for TreeNode<T>
impl<T> Freeze for TreeNode<T>
impl<T> Unpin for TreeNode<T>
impl<T> UnsafeUnpin for TreeNode<T>
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