pub(crate) struct WindowLaunchConfig {
state: &'static str,
width: u32,
height: u32,
def_x: i32,
def_y: i32,
}Expand description
アプリケーション起動時のウィンドウ初期化用設定パラメータ
Fields§
§state: &'static strウィンドウ表示状態 (“normal” / “maximized” / “minimized” / “fullscreen”)
width: u32通常(normal)表示時のデフォルトの幅
height: u32通常(normal)表示時のデフォルトの高さ
def_x: i32デフォルトの左上X座標 (通常表示時の原点位置)
def_y: i32デフォルトの左上Y座標 (通常表示時の原点位置)
Auto Trait Implementations§
impl Freeze for WindowLaunchConfig
impl RefUnwindSafe for WindowLaunchConfig
impl Send for WindowLaunchConfig
impl Sync for WindowLaunchConfig
impl Unpin for WindowLaunchConfig
impl UnsafeUnpin for WindowLaunchConfig
impl UnwindSafe for WindowLaunchConfig
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