pub struct NodeData<T> {
pub disabled: bool,
pub has_caret: bool,
pub icon: Icon,
pub icon_color: Option<AttrValue>,
pub icon_intent: Option<Intent>,
pub is_expanded: bool,
pub is_selected: bool,
pub label: Html,
pub secondary_label: Option<Html>,
pub data: T,
}
Fields§
§disabled: bool
§has_caret: bool
§icon: Icon
§icon_color: Option<AttrValue>
§icon_intent: Option<Intent>
§is_expanded: bool
§is_selected: bool
§label: Html
§secondary_label: Option<Html>
§data: T
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for NodeData<T>
impl<T> !Send for NodeData<T>
impl<T> !Sync for NodeData<T>
impl<T> Unpin for NodeData<T>where T: Unpin,
impl<T> !UnwindSafe for NodeData<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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.