pub fn try_get_state(&mut self, widget: WidgetId) -> Option<WidgetState> {
        let cell = StateCell::default();
        let state_cell = cell.clone();
        self.lifecycle(LifeCycle::Internal(InternalLifeCycle::DebugRequestState {
            widget,
            state_cell,
        }));
        cell.take()
    }
/// Attempt to retrieve a copy of this widget's `WidgetState`.
Attempt to retrieve a copy of this widget's `WidgetState`.
Attempt to retrieve a copy of this widget ' s ` WidgetState ` .
pub fn try_get_state(&mut self, widget: WidgetId) -> Option<WidgetState> {
        let cell = StateCell::default();
        let state_cell = cell.clone();
        self.lifecycle(LifeCycle::Internal(InternalLifeCycle::DebugRequestState {
            widget,
            state_cell,
        }));
        cell.take()
    }
pub fn try_get_state ( & mut self , widget : WidgetId ) -> Option < WidgetState > { let cell = StateCell :: default ( ) ; let state_cell = cell . clone ( ) ; self . lifecycle ( LifeCycle :: Internal ( InternalLifeCycle :: DebugRequestState { widget , state_cell , } ) ) ; cell . take ( ) }
Attempt to retrieve a copy of this widget's `WidgetState`.
Attempt to retrieve a copy of this widget ' s ` WidgetState ` .
&mut self
widget
WidgetId
&mut self
widget
WidgetId