pub struct VersoWindowBuilder {
pub verso_builder: VersoBuilder,
pub has_icon: bool,
pub theme: Option<Theme>,
}
Fields§
§verso_builder: VersoBuilder
§has_icon: bool
§theme: Option<Theme>
Trait Implementations§
Source§impl Clone for VersoWindowBuilder
impl Clone for VersoWindowBuilder
Source§fn clone(&self) -> VersoWindowBuilder
fn clone(&self) -> VersoWindowBuilder
Returns a copy 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 VersoWindowBuilder
impl Debug for VersoWindowBuilder
Source§impl Default for VersoWindowBuilder
impl Default for VersoWindowBuilder
Source§impl WindowBuilder for VersoWindowBuilder
impl WindowBuilder for VersoWindowBuilder
Source§fn inner_size(self, width: f64, height: f64) -> Self
fn inner_size(self, width: f64, height: f64) -> Self
Note: width and height are in logical unit
Source§fn min_inner_size(self, min_width: f64, min_height: f64) -> Self
fn min_inner_size(self, min_width: f64, min_height: f64) -> Self
Unsupported, has no effect
Source§fn max_inner_size(self, max_width: f64, max_height: f64) -> Self
fn max_inner_size(self, max_width: f64, max_height: f64) -> Self
Unsupported, has no effect
Source§fn inner_size_constraints(self, constraints: WindowSizeConstraints) -> Self
fn inner_size_constraints(self, constraints: WindowSizeConstraints) -> Self
Unsupported, has no effect
Source§fn maximizable(self, resizable: bool) -> Self
fn maximizable(self, resizable: bool) -> Self
Unsupported, has no effect
Source§fn minimizable(self, resizable: bool) -> Self
fn minimizable(self, resizable: bool) -> Self
Unsupported, has no effect
Source§fn visible_on_all_workspaces(self, visible_on_all_workspaces: bool) -> Self
fn visible_on_all_workspaces(self, visible_on_all_workspaces: bool) -> Self
Unsupported, has no effect
Source§fn content_protected(self, protected: bool) -> Self
fn content_protected(self, protected: bool) -> Self
Unsupported, has no effect
Source§fn skip_taskbar(self, skip: bool) -> Self
fn skip_taskbar(self, skip: bool) -> Self
Unsupported, has no effect
Source§fn window_classname<S: Into<String>>(self, classname: S) -> Self
fn window_classname<S: Into<String>>(self, classname: S) -> Self
Unsupported, has no effect
Source§fn title_bar_style(self, style: TitleBarStyle) -> Self
fn title_bar_style(self, style: TitleBarStyle) -> Self
Unsupported, has no effect
Unsupported, has no effect
Source§fn tabbing_identifier(self, identifier: &str) -> Self
fn tabbing_identifier(self, identifier: &str) -> Self
Unsupported, has no effect
Source§fn traffic_light_position<P: Into<Position>>(self, position: P) -> Self
fn traffic_light_position<P: Into<Position>>(self, position: P) -> Self
Unsupported, has no effect
Source§fn background_color(self, _color: Color) -> Self
fn background_color(self, _color: Color) -> Self
Unsupported, has no effect
Source§fn prevent_overflow(self) -> Self
fn prevent_overflow(self) -> Self
Unsupported, has no effect
Source§fn prevent_overflow_with_margin(self, margin: Size) -> Self
fn prevent_overflow_with_margin(self, margin: Size) -> Self
Unsupported, has no effect
Source§fn with_config(config: &WindowConfig) -> Self
fn with_config(config: &WindowConfig) -> Self
Initializes a new window builder from a [
WindowConfig
]Source§fn fullscreen(self, fullscreen: bool) -> Self
fn fullscreen(self, fullscreen: bool) -> Self
Whether to start the window in fullscreen or not.
Source§fn maximized(self, maximized: bool) -> Self
fn maximized(self, maximized: bool) -> Self
Whether the window should be maximized upon creation.
Source§fn visible(self, visible: bool) -> Self
fn visible(self, visible: bool) -> Self
Whether the window should be immediately visible upon creation.
Source§fn decorations(self, decorations: bool) -> Self
fn decorations(self, decorations: bool) -> Self
Whether the window should have borders and bars.
Source§fn always_on_bottom(self, always_on_bottom: bool) -> Self
fn always_on_bottom(self, always_on_bottom: bool) -> Self
Whether the window should always be below other windows.
Source§fn always_on_top(self, always_on_top: bool) -> Self
fn always_on_top(self, always_on_top: bool) -> Self
Whether the window should always be on top of other windows.
Source§fn theme(self, theme: Option<Theme>) -> Self
fn theme(self, theme: Option<Theme>) -> Self
Forces a theme or uses the system settings if None was provided.
fn get_theme(&self) -> Option<Theme>
impl WindowBuilderBase for VersoWindowBuilder
Auto Trait Implementations§
impl Freeze for VersoWindowBuilder
impl RefUnwindSafe for VersoWindowBuilder
impl Send for VersoWindowBuilder
impl Sync for VersoWindowBuilder
impl Unpin for VersoWindowBuilder
impl UnwindSafe for VersoWindowBuilder
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