#[repr(C)]pub struct FullWindowState {Show 18 fields
pub window_id: AzString,
pub theme: WindowTheme,
pub title: AzString,
pub size: WindowSize,
pub position: WindowPosition,
pub flags: WindowFlags,
pub debug_state: DebugState,
pub keyboard_state: KeyboardState,
pub mouse_state: MouseState,
pub touch_state: TouchState,
pub ime_position: ImePosition,
pub platform_specific_options: PlatformSpecificOptions,
pub renderer_options: RendererOptions,
pub background_color: ColorU,
pub layout_callback: LayoutCallback,
pub close_callback: OptionCallback,
pub monitor_id: OptionU32,
pub window_focused: bool,
}Expand description
Full window state including internal fields not exposed to callbacks
Fields§
§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”)
theme: WindowTheme§title: AzString§size: WindowSize§position: WindowPosition§flags: WindowFlags§debug_state: DebugState§keyboard_state: KeyboardState§mouse_state: MouseState§touch_state: TouchState§ime_position: ImePosition§platform_specific_options: PlatformSpecificOptions§renderer_options: RendererOptions§background_color: ColorU§layout_callback: LayoutCallback§close_callback: OptionCallback§monitor_id: OptionU32Monitor ID (not the full Monitor struct - just the identifier)
window_focused: boolTrait Implementations§
Source§impl Clone for FullWindowState
impl Clone for FullWindowState
Source§fn clone(&self) -> FullWindowState
fn clone(&self) -> FullWindowState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
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 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
Mutably borrows from an owned value. Read more
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>
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