#[non_exhaustive]pub struct WindowPlace<'a> {
pub title: &'a str,
pub rect: Rect,
pub collapsed: bool,
}Expand description
A window’s place, as DebugUi::places gives it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: &'a strIts name: its explicit ID, or its title.
rect: RectWhere it is, and how large, in UI units.
collapsed: boolWhether only its title bar shows.
Trait Implementations§
Source§impl<'a> Clone for WindowPlace<'a>
impl<'a> Clone for WindowPlace<'a>
impl<'a> Copy for WindowPlace<'a>
Source§impl<'a> Debug for WindowPlace<'a>
impl<'a> Debug for WindowPlace<'a>
Source§impl<'a> PartialEq for WindowPlace<'a>
impl<'a> PartialEq for WindowPlace<'a>
impl<'a> StructuralPartialEq for WindowPlace<'a>
Auto Trait Implementations§
impl<'a> Forget for WindowPlace<'a>
impl<'a> Freeze for WindowPlace<'a>
impl<'a> Move for WindowPlace<'a>
impl<'a> RefUnwindSafe for WindowPlace<'a>
impl<'a> Send for WindowPlace<'a>
impl<'a> Sync for WindowPlace<'a>
impl<'a> Unpin for WindowPlace<'a>
impl<'a> UnsafeUnpin for WindowPlace<'a>
impl<'a> UnwindSafe for WindowPlace<'a>
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