pub struct WindowStyles {
pub flag: u32,
}Available on Windows only.
Expand description
Represents window styles.
Fields§
§flag: u32Implementations§
Source§impl WindowStyles
impl WindowStyles
Sourcepub const fn raw(flag: u32) -> WindowStyles
pub const fn raw(flag: u32) -> WindowStyles
Creates a flag with the given styles.
Sourcepub const fn new() -> WindowStyles
pub const fn new() -> WindowStyles
Creates a flag with no styles set.
Sourcepub const fn set(self, style: WindowStyle) -> WindowStyles
pub const fn set(self, style: WindowStyle) -> WindowStyles
Sets a style.
Sourcepub const fn remove(self, style: WindowStyle) -> WindowStyles
pub const fn remove(self, style: WindowStyle) -> WindowStyles
Removes a style.
Auto Trait Implementations§
impl Freeze for WindowStyles
impl RefUnwindSafe for WindowStyles
impl Send for WindowStyles
impl Sync for WindowStyles
impl Unpin for WindowStyles
impl UnwindSafe for WindowStyles
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