pub struct TitleBarOutput {
pub request: Option<FrameRequest>,
pub rect: Rect,
pub title: Option<Rect>,
pub layout: FrameLayout,
}Expand description
What TitleBar::show gives back.
Fields§
§request: Option<FrameRequest>§rect: RectThe bar.
title: Option<Rect>Where the title was drawn; None when there was no room for it.
layout: FrameLayoutIts parts, in points (the window’s rectangle is left empty).
Trait Implementations§
Source§impl Clone for TitleBarOutput
impl Clone for TitleBarOutput
Source§fn clone(&self) -> TitleBarOutput
fn clone(&self) -> TitleBarOutput
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 TitleBarOutput
impl Debug for TitleBarOutput
Source§impl PartialEq for TitleBarOutput
impl PartialEq for TitleBarOutput
impl StructuralPartialEq for TitleBarOutput
Auto Trait Implementations§
impl Freeze for TitleBarOutput
impl RefUnwindSafe for TitleBarOutput
impl Send for TitleBarOutput
impl Sync for TitleBarOutput
impl Unpin for TitleBarOutput
impl UnsafeUnpin for TitleBarOutput
impl UnwindSafe for TitleBarOutput
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