pub struct WindowBuilder { /* private fields */ }Implementations§
Source§impl WindowBuilder
impl WindowBuilder
pub fn new() -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn icon(self, icon: WindowIcon) -> Self
pub fn icon_svg(self, svg: impl Into<Vec<u8>>) -> Self
pub fn without_icon(self) -> Self
pub fn root<W>(self, root: W) -> Selfwhere
W: Widget + 'static,
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WindowBuilder
impl !Send for WindowBuilder
impl !Sync for WindowBuilder
impl !UnwindSafe for WindowBuilder
impl Freeze for WindowBuilder
impl Unpin for WindowBuilder
impl UnsafeUnpin for WindowBuilder
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