pub struct WindowsWindowOptions {
pub no_redirection_bitmap: bool,
pub window_icon: Option<WindowIcon>,
pub taskbar_icon: Option<TaskBarIcon>,
pub parent_window: Option<*mut c_void>,
}
Fields§
§no_redirection_bitmap: bool
STARTUP ONLY: Sets WS_EX_NOREDIRECTIONBITMAP
window_icon: Option<WindowIcon>
STARTUP ONLY: Window icon (decoded bytes), appears at the top right corner of the window
taskbar_icon: Option<TaskBarIcon>
READWRITE: Taskbar icon (decoded bytes), usually 256x256x4 bytes large (ICON_BIG
).
Can be changed in callbacks / at runtime.
parent_window: Option<*mut c_void>
STARTUP 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 copy 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 Hash for WindowsWindowOptions
impl Hash for WindowsWindowOptions
Source§impl Ord for WindowsWindowOptions
impl Ord for WindowsWindowOptions
Source§fn cmp(&self, other: &WindowsWindowOptions) -> Ordering
fn cmp(&self, other: &WindowsWindowOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowsWindowOptions
impl PartialEq for WindowsWindowOptions
Source§impl PartialOrd for WindowsWindowOptions
impl PartialOrd for WindowsWindowOptions
impl Eq 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