#[repr(i32)]pub enum WindowDecorations {
None = 0,
BorderOnly = 1,
Full = 2,
}Expand description
Determines window decorations (title bar, border, etc) for a window.
Variants§
None = 0
No decorations.
BorderOnly = 1
Window border without titlebar.
Full = 2
Fully decorated (default).
Trait Implementations§
Source§impl Clone for WindowDecorations
impl Clone for WindowDecorations
impl Copy for WindowDecorations
Source§impl Debug for WindowDecorations
impl Debug for WindowDecorations
impl Eq for WindowDecorations
Source§impl Hash for WindowDecorations
impl Hash for WindowDecorations
Source§impl MarkupTyped for WindowDecorations
impl MarkupTyped for WindowDecorations
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for WindowDecorations
impl PartialEq 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 UnsafeUnpin for WindowDecorations
impl UnwindSafe for WindowDecorations
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more