pub struct ClientArea {
pub anchor: HorizontalAnchor,
pub origin: LogicalPoint,
pub size: LogicalSize,
}Expand description
A rectangle in the custom title bar that remains a Slint client area.
Use this for menus, search fields, tabs, or arbitrary buttons placed in the title bar. Outside these areas, the title bar drags the window.
Fields§
§anchor: HorizontalAnchor§origin: LogicalPoint§size: LogicalSizeImplementations§
Trait Implementations§
Source§impl Clone for ClientArea
impl Clone for ClientArea
impl Copy for ClientArea
Source§impl Debug for ClientArea
impl Debug for ClientArea
Source§impl PartialEq for ClientArea
impl PartialEq for ClientArea
impl StructuralPartialEq for ClientArea
Auto Trait Implementations§
impl Freeze for ClientArea
impl RefUnwindSafe for ClientArea
impl Send for ClientArea
impl Sync for ClientArea
impl Unpin for ClientArea
impl UnsafeUnpin for ClientArea
impl UnwindSafe for ClientArea
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