#[non_exhaustive]pub struct TitleBar {
pub height: i32,
pub font: String,
pub font_size: i32,
}Expand description
The title bar’s geometry and type.
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.height: i32Height in pixels.
font: StringA CSS-style font stack.
font_size: i32Point size.
Trait Implementations§
impl Eq for TitleBar
impl StructuralPartialEq for TitleBar
Auto Trait Implementations§
impl Freeze for TitleBar
impl RefUnwindSafe for TitleBar
impl Send for TitleBar
impl Sync for TitleBar
impl Unpin for TitleBar
impl UnsafeUnpin for TitleBar
impl UnwindSafe for TitleBar
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