pub struct WindowDef {
pub title: String,
pub starts_open: bool,
pub size: Size,
pub backdrop: Backdrop,
pub style: StackStyle,
pub children: Nodes,
pub locals: Vec<Type>,
}Fields§
§title: String§starts_open: boolWhether it opens when the app starts, rather than when code opens it.
size: Size§backdrop: Backdrop§style: StackStyleThe stack holding its content: its one top-level column or row, or else an
implicit column around its top-level elements, such as a scroll area.
children: Nodes§locals: Vec<Type>The type of every local, by id.
Trait Implementations§
Auto Trait Implementations§
impl !Send for WindowDef
impl !Sync for WindowDef
impl Freeze for WindowDef
impl RefUnwindSafe for WindowDef
impl Unpin for WindowDef
impl UnsafeUnpin for WindowDef
impl UnwindSafe for WindowDef
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