#[non_exhaustive]#[repr(u32)]pub enum WindowExtendedStyle {
Composited = 33_554_432,
Left = 0,
NoActivate = 134_217_728,
Topmost = 8,
Transparent = 32,
Other(u32),
}Available on crate feature
ui only.Expand description
Extended window style.
Using combinations is possible with std::ops::BitOr.
See also: Microsoft docs
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl BitOr for WindowExtendedStyle
impl BitOr for WindowExtendedStyle
Source§impl Clone for WindowExtendedStyle
impl Clone for WindowExtendedStyle
Source§fn clone(&self) -> WindowExtendedStyle
fn clone(&self) -> WindowExtendedStyle
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 WindowExtendedStyle
impl Debug for WindowExtendedStyle
Source§impl Default for WindowExtendedStyle
impl Default for WindowExtendedStyle
Source§impl From<WindowExtendedStyle> for WINDOW_EX_STYLE
impl From<WindowExtendedStyle> for WINDOW_EX_STYLE
Source§fn from(value: WindowExtendedStyle) -> Self
fn from(value: WindowExtendedStyle) -> Self
Converts to this type from the input type.
Source§impl From<WindowExtendedStyle> for u32
impl From<WindowExtendedStyle> for u32
Source§fn from(enum_value: WindowExtendedStyle) -> Self
fn from(enum_value: WindowExtendedStyle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WindowExtendedStyle
impl PartialEq for WindowExtendedStyle
Source§impl TryFrom<u32> for WindowExtendedStyle
impl TryFrom<u32> for WindowExtendedStyle
Source§type Error = TryFromPrimitiveError<WindowExtendedStyle>
type Error = TryFromPrimitiveError<WindowExtendedStyle>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WindowExtendedStyle
impl TryFromPrimitive for WindowExtendedStyle
const NAME: &'static str = "WindowExtendedStyle"
type Primitive = u32
type Error = TryFromPrimitiveError<WindowExtendedStyle>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WindowExtendedStyle
impl Eq for WindowExtendedStyle
impl StructuralPartialEq for WindowExtendedStyle
Auto Trait Implementations§
impl Freeze for WindowExtendedStyle
impl RefUnwindSafe for WindowExtendedStyle
impl Send for WindowExtendedStyle
impl Sync for WindowExtendedStyle
impl Unpin for WindowExtendedStyle
impl UnwindSafe for WindowExtendedStyle
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