pub enum TitlebarStyle {
Native,
HiddenInset,
Overlay {
height: u32,
},
None,
}Expand description
Native titlebar presentation requested by a window.
Variants§
Native
Platform-native titlebar, matching prior WebUI behavior.
HiddenInset
Native controls float over full-bleed application content.
Overlay
System caption buttons with an application-drawn bar.
Fields
§
height: u32Height of the overlay titlebar in CSS pixels.
The application band reserves at least this height; Windows caption
buttons are sized independently through WindowOptions::caption_button_size.
None
Fully frameless window. The application draws all chrome.
Trait Implementations§
Source§impl Clone for TitlebarStyle
impl Clone for TitlebarStyle
Source§impl Debug for TitlebarStyle
impl Debug for TitlebarStyle
Source§impl Default for TitlebarStyle
impl Default for TitlebarStyle
Source§impl<'de> Deserialize<'de> for TitlebarStyle
impl<'de> Deserialize<'de> for TitlebarStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TitlebarStyle
Source§impl PartialEq for TitlebarStyle
impl PartialEq for TitlebarStyle
Source§impl Serialize for TitlebarStyle
impl Serialize for TitlebarStyle
impl StructuralPartialEq for TitlebarStyle
Auto Trait Implementations§
impl Freeze for TitlebarStyle
impl RefUnwindSafe for TitlebarStyle
impl Send for TitlebarStyle
impl Sync for TitlebarStyle
impl Unpin for TitlebarStyle
impl UnsafeUnpin for TitlebarStyle
impl UnwindSafe for TitlebarStyle
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