Struct yewprint::NodeData [−][src]
pub struct NodeData<T> {
pub disabled: bool,
pub has_caret: bool,
pub icon: Option<IconName>,
pub icon_color: Option<String>,
pub icon_intent: Option<Intent>,
pub is_expanded: bool,
pub is_selected: bool,
pub label: VNode,
pub secondary_label: Option<VNode>,
pub data: T,
}
Fields
disabled: bool
has_caret: bool
icon: Option<IconName>
icon_color: Option<String>
icon_intent: Option<Intent>
is_expanded: bool
is_selected: bool
label: VNode
secondary_label: Option<VNode>
data: T
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for NodeData<T>
impl<T> !UnwindSafe for NodeData<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
If self
and new
aren’t equal, assigns new
to self
and returns true, otherwise returns false. Read more