pub struct WindowTemplate<L: Logic> {
pub title: String,
pub size: Size,
pub backdrop: Backdrop,
pub style: StackStyle,
pub children: Templates<L>,
pub frame: Rc<L::Frame>,
pub starts_open: bool,
}Expand description
A window and the column it shows its content in.
Fields§
§title: String§size: Size§backdrop: Backdrop§style: StackStyle§children: Templates<L>§frame: Rc<L::Frame>The locals its content starts with, each time it opens.
starts_open: boolWhether it opens when the app starts, rather than when code opens it.
Trait Implementations§
Auto Trait Implementations§
impl<L> !Send for WindowTemplate<L>
impl<L> !Sync for WindowTemplate<L>
impl<L> Freeze for WindowTemplate<L>
impl<L> RefUnwindSafe for WindowTemplate<L>where
<L as Logic>::Frame: RefUnwindSafe,
<L as Logic>::Region: RefUnwindSafe,
<L as Logic>::Value: RefUnwindSafe,
<L as Logic>::Action: RefUnwindSafe,
<L as Logic>::Binding: RefUnwindSafe,
impl<L> Unpin for WindowTemplate<L>
impl<L> UnsafeUnpin for WindowTemplate<L>
impl<L> UnwindSafe for WindowTemplate<L>where
<L as Logic>::Frame: RefUnwindSafe,
<L as Logic>::Region: RefUnwindSafe,
<L as Logic>::Value: RefUnwindSafe,
<L as Logic>::Action: RefUnwindSafe,
<L as Logic>::Binding: RefUnwindSafe,
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