#[non_exhaustive]pub struct WindowManager {}Expand description
Application extension that manages windows.
§Events
Events this extension provides:
WINDOW_OPEN_EVENTWINDOW_CHANGED_EVENTWINDOW_FOCUS_CHANGED_EVENTWINDOW_CLOSE_REQUESTED_EVENTWINDOW_CLOSE_EVENTMONITORS_CHANGED_EVENT
§Services
Services this extension provides:
The WINDOWS service is also setup as the implementer for IMAGES rendering.
Trait Implementations§
Source§impl AppExtension for WindowManager
impl AppExtension for WindowManager
Source§fn event_preview(&mut self, update: &mut EventUpdate)
fn event_preview(&mut self, update: &mut EventUpdate)
Source§fn update_ui(&mut self, update_widgets: &mut WidgetUpdates)
fn update_ui(&mut self, update_widgets: &mut WidgetUpdates)
Source§fn info(&mut self, info_widgets: &mut InfoUpdates)
fn info(&mut self, info_widgets: &mut InfoUpdates)
Called when info rebuild is requested for windows and widgets. Read more
Source§fn layout(&mut self, layout_widgets: &mut LayoutUpdates)
fn layout(&mut self, layout_widgets: &mut LayoutUpdates)
Called when layout is requested for windows and widgets. Read more
Source§fn render(
&mut self,
render_widgets: &mut RenderUpdates,
render_update_widgets: &mut RenderUpdates,
)
fn render( &mut self, render_widgets: &mut RenderUpdates, render_update_widgets: &mut RenderUpdates, )
Called when render is requested for windows and widgets. Read more
Source§fn register(&self, info: &mut AppExtensionsInfo)where
Self: Sized,
fn register(&self, info: &mut AppExtensionsInfo)where
Self: Sized,
Register info abound this extension on the info list.
Source§fn update_preview(&mut self)
fn update_preview(&mut self)
Source§impl Default for WindowManager
impl Default for WindowManager
Source§fn default() -> WindowManager
fn default() -> WindowManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowManager
impl RefUnwindSafe for WindowManager
impl Send for WindowManager
impl Sync for WindowManager
impl Unpin for WindowManager
impl UnwindSafe for WindowManager
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more