pub struct EuvTreeNode {
pub label: &'static str,
pub value: &'static str,
pub children: Vec<EuvTreeNode>,
}Expand description
One node of the euv_tree component.
A node is a label, the opaque value written into the selection signal
when its row is clicked, and the child nodes rendered beneath it. The
struct is recursive, so it cannot be Copy; it derives Clone so a
caller can build several trees from one shared template.
Fields§
§label: &'static strThe visible node text rendered in c_euv_tree_node_label.
value: &'static strThe opaque value written into the selected signal when the row is
clicked, and the identity the expansion state is keyed by.
children: Vec<EuvTreeNode>The child nodes rendered beneath this one.
Trait Implementations§
Source§impl Clone for EuvTreeNode
impl Clone for EuvTreeNode
Source§impl Debug for EuvTreeNode
impl Debug for EuvTreeNode
Auto Trait Implementations§
impl Freeze for EuvTreeNode
impl RefUnwindSafe for EuvTreeNode
impl Send for EuvTreeNode
impl Sync for EuvTreeNode
impl Unpin for EuvTreeNode
impl UnsafeUnpin for EuvTreeNode
impl UnwindSafe for EuvTreeNode
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