pub struct WindowStyle {
pub has_border: bool,
pub has_title_bar: bool,
pub border_width: i32,
pub title_bar_height: i32,
}Expand description
Window style information for coordinate calculations.
Fields§
§has_border: boolWhether the window has a border
has_title_bar: boolWhether the window has a title bar
border_width: i32Border width in pixels
title_bar_height: i32Title bar height in pixels
Trait Implementations§
Source§impl Clone for WindowStyle
impl Clone for WindowStyle
Source§fn clone(&self) -> WindowStyle
fn clone(&self) -> WindowStyle
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 WindowStyle
impl Debug for WindowStyle
Source§impl Default for WindowStyle
impl Default for WindowStyle
Source§impl PartialEq for WindowStyle
impl PartialEq for WindowStyle
impl Copy for WindowStyle
impl StructuralPartialEq for WindowStyle
Auto Trait Implementations§
impl Freeze for WindowStyle
impl RefUnwindSafe for WindowStyle
impl Send for WindowStyle
impl Sync for WindowStyle
impl Unpin for WindowStyle
impl UnwindSafe for WindowStyle
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