Struct termwiz::widgets::UpdateArgs
source · [−]pub struct UpdateArgs<'a> {
pub id: WidgetId,
pub cursor: &'a mut CursorShapeAndPosition,
}
Expand description
UpdateArgs provides access to the widget and UI state during
a call to Widget::update_state
Fields
id: WidgetId
The id of the current widget
cursor: &'a mut CursorShapeAndPosition
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateArgs<'a>
impl<'a> Send for UpdateArgs<'a>
impl<'a> Sync for UpdateArgs<'a>
impl<'a> Unpin for UpdateArgs<'a>
impl<'a> !UnwindSafe for UpdateArgs<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more