pub struct WindowStyle {
pub frame: WindowFrame,
pub can_resize: bool,
pub can_close: bool,
pub can_minimize: bool,
pub can_maximize: bool,
pub can_full_screen: bool,
pub always_on_top: bool,
pub always_on_top_level: Option<i64>,
pub traffic_light_offset: Option<Point>,
}Fields§
§frame: WindowFrame§can_resize: bool§can_close: bool§can_minimize: bool§can_maximize: bool§can_full_screen: bool§always_on_top: bool§always_on_top_level: Option<i64>§traffic_light_offset: Option<Point>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§fn default() -> WindowStyle
fn default() -> WindowStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowStyle
impl<'de> Deserialize<'de> for WindowStyle
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
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