pub struct State<W, P> {
pub widget: W,
pub trigger: Box<dyn FnBox<P>>,
/* private fields */
}
Expand description
state for tree
Fields§
§widget: W
Host widget
trigger: Box<dyn FnBox<P>>
Function Hook
Implementations§
Auto Trait Implementations§
impl<W, P> Freeze for State<W, P>where
W: Freeze,
impl<W, P> !RefUnwindSafe for State<W, P>
impl<W, P> !Send for State<W, P>
impl<W, P> !Sync for State<W, P>
impl<W, P> Unpin for State<W, P>where
W: Unpin,
impl<W, P> !UnwindSafe for State<W, P>
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