pub struct WindowMeta {
pub title: Option<String>,
pub description: Option<String>,
pub locale: Option<String>,
}Expand description
Decoded window/surface metadata.
A field is None when unset (the renderer applies its default). An empty
wire string clears the field, so Self::set stores None for "".
Fields§
§title: Option<String>Window/surface title.
description: Option<String>Human-readable description of the current content.
locale: Option<String>Content locale (BCP 47).
Implementations§
Trait Implementations§
Source§impl Clone for WindowMeta
impl Clone for WindowMeta
Source§impl Debug for WindowMeta
impl Debug for WindowMeta
Source§impl Default for WindowMeta
impl Default for WindowMeta
impl Eq for WindowMeta
Source§impl PartialEq for WindowMeta
impl PartialEq for WindowMeta
impl StructuralPartialEq for WindowMeta
Auto Trait Implementations§
impl Forget for WindowMeta
impl Freeze for WindowMeta
impl RefUnwindSafe for WindowMeta
impl Send for WindowMeta
impl Sync for WindowMeta
impl Unpin for WindowMeta
impl UnsafeUnpin for WindowMeta
impl UnwindSafe for WindowMeta
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