pub struct TreeNodeKind;Expand description
The kind tag of IntoWidget for a widget that is its own tree node: one implementing
Widget directly, whose element is its own rather than a wrapper’s — a render object
widget that builds a child during layout (LayoutBuilder), a table (Table), a proxy widget
(NotificationListener), a collection of views (ViewCollection). It converts to itself,
which is what its inherent into_widget answers.
Auto Trait Implementations§
impl Forget for TreeNodeKind
impl Freeze for TreeNodeKind
impl Move for TreeNodeKind
impl RefUnwindSafe for TreeNodeKind
impl Send for TreeNodeKind
impl Sync for TreeNodeKind
impl Unpin for TreeNodeKind
impl UnsafeUnpin for TreeNodeKind
impl UnwindSafe for TreeNodeKind
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<W> IntoWidget<TreeNodeKind> for Wwhere
W: Widget,
impl<W> IntoWidget<TreeNodeKind> for Wwhere
W: Widget,
Source§fn into_widget(self) -> Rc<dyn Widget>
fn into_widget(self) -> Rc<dyn Widget>
The widget as a tree node, made where this is called: its
creation_location.