pub struct UiContext {
pub events: Vec<UiEvent>,
pub theme: Theme,
pub draw: DrawList,
pub toast: ToastManager,
pub tooltip: TooltipManager,
/* private fields */
}Expand description
The top-level UI context: manages widgets, events, and layout.
Fields§
§events: Vec<UiEvent>§theme: Theme§draw: DrawList§toast: ToastManager§tooltip: TooltipManagerImplementations§
Auto Trait Implementations§
impl Freeze for UiContext
impl !RefUnwindSafe for UiContext
impl Send for UiContext
impl Sync for UiContext
impl Unpin for UiContext
impl UnsafeUnpin for UiContext
impl !UnwindSafe for UiContext
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