pub struct FrameLayout {
pub window: Rect,
pub caption: Option<Rect>,
pub holes: Vec<Rect>,
pub minimize: Option<Rect>,
pub maximize: Option<Rect>,
pub close: Option<Rect>,
pub grip: f32,
pub resizable: bool,
pub fullscreen: bool,
}Expand description
A frame’s parts in points, as drawn.
Fields§
§window: RectThe window’s client area.
caption: Option<Rect>§holes: Vec<Rect>§minimize: Option<Rect>§maximize: Option<Rect>§close: Option<Rect>§grip: f32The resize edges’ width in points (before the pixel minimum).
resizable: bool§fullscreen: boolThe window is in full screen.
Trait Implementations§
Source§impl Clone for FrameLayout
impl Clone for FrameLayout
Source§fn clone(&self) -> FrameLayout
fn clone(&self) -> FrameLayout
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 FrameLayout
impl Debug for FrameLayout
Source§impl Default for FrameLayout
impl Default for FrameLayout
Source§impl PartialEq for FrameLayout
impl PartialEq for FrameLayout
impl StructuralPartialEq for FrameLayout
Auto Trait Implementations§
impl Freeze for FrameLayout
impl RefUnwindSafe for FrameLayout
impl Send for FrameLayout
impl Sync for FrameLayout
impl Unpin for FrameLayout
impl UnsafeUnpin for FrameLayout
impl UnwindSafe for FrameLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more