#[repr(C)]pub struct FullWindowState {Show 19 fields
pub platform_specific_options: PlatformSpecificOptions,
pub keyboard_state: KeyboardState,
pub window_id: AzString,
pub title: AzString,
pub close_callback: OptionCallback,
pub layout_callback: LayoutCallback,
pub position: WindowPosition,
pub touch_state: TouchState,
pub size: WindowSize,
pub flags: WindowFlags,
pub mouse_state: MouseState,
pub theme: WindowTheme,
pub ime_position: ImePosition,
pub renderer_options: RendererOptions,
pub monitor_id: OptionU32,
pub debug_state: DebugState,
pub background_color: OptionColorU,
pub window_focused: bool,
pub active_route: OptionRouteMatch,
}Expand description
Full window state including internal fields not exposed to callbacks
Fields§
§platform_specific_options: PlatformSpecificOptionsPlatform-specific window options
keyboard_state: KeyboardStateCurrent keyboard state (pressed keys, modifiers)
window_id: AzStringSemantic window identifier for multi-window debugging. Can be set by the user to identify specific windows (e.g., “main”, “settings”, “popup-1”)
title: AzStringWindow title bar text
close_callback: OptionCallbackOptional callback invoked when the user requests the window to close
layout_callback: LayoutCallbackCallback that returns the DOM for this window
position: WindowPositionWindow position on screen
touch_state: TouchStateCurrent touch/gesture input state
size: WindowSizeWindow dimensions (logical and physical)
flags: WindowFlagsWindow flags (minimized, maximized, fullscreen, etc.)
mouse_state: MouseStateCurrent mouse cursor state (position, buttons)
theme: WindowThemeActive window theme (light/dark)
ime_position: ImePositionPosition of the IME candidate window
renderer_options: RendererOptionsGPU renderer options (VSync, SRGB, hardware acceleration)
monitor_id: OptionU32Monitor ID (not the full Monitor struct - just the identifier)
debug_state: DebugStateDebug visualization state (layout borders, repaints, etc.)
background_color: OptionColorUWindow background color. If None, uses system window background color.
window_focused: boolWhether this window currently has input focus
active_route: OptionRouteMatchActive route match (pattern + extracted parameters).
Set by CallbackInfo::switch_route() or by the web server on URL match.
Layout callbacks read this via LayoutCallbackInfo::get_route_param().
Trait Implementations§
Source§impl Clone for FullWindowState
impl Clone for FullWindowState
Source§fn clone(&self) -> FullWindowState
fn clone(&self) -> FullWindowState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FullWindowState
impl Debug for FullWindowState
Source§impl Default for FullWindowState
impl Default for FullWindowState
Source§impl PartialEq for FullWindowState
impl PartialEq for FullWindowState
Source§fn eq(&self, other: &FullWindowState) -> bool
fn eq(&self, other: &FullWindowState) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FullWindowState
Auto Trait Implementations§
impl Freeze for FullWindowState
impl RefUnwindSafe for FullWindowState
impl Send for FullWindowState
impl Sync for FullWindowState
impl Unpin for FullWindowState
impl UnsafeUnpin for FullWindowState
impl UnwindSafe for FullWindowState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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