#[repr(C)]pub enum WindowDecorations {
Normal = 0,
NoTitle = 1,
NoControls = 2,
None = 3,
}Expand description
Window decoration style
Variants§
Normal = 0
Full decorations: title bar with controls
NoTitle = 1
No title text but controls visible (extended frame)
NoControls = 2
No controls visible but title bar area present
None = 3
No decorations at all (borderless)
Trait Implementations§
Source§impl Clone for WindowDecorations
impl Clone for WindowDecorations
Source§fn clone(&self) -> WindowDecorations
fn clone(&self) -> WindowDecorations
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 WindowDecorations
impl Debug for WindowDecorations
Source§impl Default for WindowDecorations
impl Default for WindowDecorations
Source§impl Hash for WindowDecorations
impl Hash for WindowDecorations
Source§impl Ord for WindowDecorations
impl Ord for WindowDecorations
Source§fn cmp(&self, other: &WindowDecorations) -> Ordering
fn cmp(&self, other: &WindowDecorations) -> 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 WindowDecorations
impl PartialEq for WindowDecorations
Source§impl PartialOrd for WindowDecorations
impl PartialOrd for WindowDecorations
impl Copy for WindowDecorations
impl Eq for WindowDecorations
impl StructuralPartialEq for WindowDecorations
Auto Trait Implementations§
impl Freeze for WindowDecorations
impl RefUnwindSafe for WindowDecorations
impl Send for WindowDecorations
impl Sync for WindowDecorations
impl Unpin for WindowDecorations
impl UnwindSafe for WindowDecorations
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