#[repr(C)]pub struct WindowsWindowOptions {
pub allow_drag_and_drop: bool,
pub no_redirection_bitmap: bool,
pub window_icon: OptionWindowIcon,
pub taskbar_icon: OptionTaskBarIcon,
pub parent_window: OptionHwndHandle,
}Fields§
§allow_drag_and_drop: boolSTARTUP ONLY: Whether the window should allow drag + drop operations (default: true)
no_redirection_bitmap: boolSTARTUP ONLY: Sets WS_EX_NOREDIRECTIONBITMAP
window_icon: OptionWindowIconSTARTUP ONLY: Window icon (decoded bytes), appears at the top right corner of the window
taskbar_icon: OptionTaskBarIconREADWRITE: Taskbar icon (decoded bytes), usually 256x256x4 bytes large (ICON_BIG).
Can be changed in callbacks / at runtime.
parent_window: OptionHwndHandleSTARTUP ONLY: Pointer (casted to void pointer) to a HWND handle
Trait Implementations§
Source§impl Clone for WindowsWindowOptions
impl Clone for WindowsWindowOptions
Source§fn clone(&self) -> WindowsWindowOptions
fn clone(&self) -> WindowsWindowOptions
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 WindowsWindowOptions
impl Debug for WindowsWindowOptions
Source§impl Default for WindowsWindowOptions
impl Default for WindowsWindowOptions
Source§fn default() -> WindowsWindowOptions
fn default() -> WindowsWindowOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowsWindowOptions
impl PartialEq for WindowsWindowOptions
Source§impl PartialOrd for WindowsWindowOptions
impl PartialOrd for WindowsWindowOptions
impl StructuralPartialEq for WindowsWindowOptions
Auto Trait Implementations§
impl Freeze for WindowsWindowOptions
impl RefUnwindSafe for WindowsWindowOptions
impl !Send for WindowsWindowOptions
impl !Sync for WindowsWindowOptions
impl Unpin for WindowsWindowOptions
impl UnwindSafe for WindowsWindowOptions
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