#[non_exhaustive]#[repr(u32)]pub enum WindowStyle {
Child = 1_073_741_824,
ClipChildren = 33_554_432,
Overlapped = 0,
OverlappedWindow = 13_565_952,
Popup = 2_147_483_648,
Visible = 268_435_456,
Other(u32),
}Available on crate feature
ui only.Expand description
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.
Child = 1_073_741_824
ClipChildren = 33_554_432
Overlapped = 0
OverlappedWindow = 13_565_952
Popup = 2_147_483_648
Visible = 268_435_456
Other(u32)
Trait Implementations§
Source§impl BitOr for WindowStyle
impl BitOr for WindowStyle
Source§impl Clone for WindowStyle
impl Clone for WindowStyle
Source§fn clone(&self) -> WindowStyle
fn clone(&self) -> WindowStyle
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 WindowStyle
impl Debug for WindowStyle
Source§impl Default for WindowStyle
impl Default for WindowStyle
Source§impl From<WindowStyle> for WINDOW_STYLE
impl From<WindowStyle> for WINDOW_STYLE
Source§fn from(value: WindowStyle) -> Self
fn from(value: WindowStyle) -> Self
Converts to this type from the input type.
Source§impl From<WindowStyle> for u32
impl From<WindowStyle> for u32
Source§fn from(enum_value: WindowStyle) -> Self
fn from(enum_value: WindowStyle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WindowStyle
impl PartialEq for WindowStyle
Source§impl TryFrom<u32> for WindowStyle
impl TryFrom<u32> for WindowStyle
Source§type Error = TryFromPrimitiveError<WindowStyle>
type Error = TryFromPrimitiveError<WindowStyle>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WindowStyle
impl TryFromPrimitive for WindowStyle
const NAME: &'static str = "WindowStyle"
type Primitive = u32
type Error = TryFromPrimitiveError<WindowStyle>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WindowStyle
impl Eq for WindowStyle
impl StructuralPartialEq for WindowStyle
Auto Trait Implementations§
impl Freeze for WindowStyle
impl RefUnwindSafe for WindowStyle
impl Send for WindowStyle
impl Sync for WindowStyle
impl Unpin for WindowStyle
impl UnwindSafe for WindowStyle
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