Struct wita::WindowBuilder
source · [−]pub struct WindowBuilder<Ti, S> { /* private fields */ }
Expand description
The object to build a window.
Implementations
sourceimpl WindowBuilder<(), ()>
impl WindowBuilder<(), ()>
pub fn new() -> WindowBuilder<&'static str, LogicalSize<u32>>
sourceimpl<Ti, S> WindowBuilder<Ti, S>
impl<Ti, S> WindowBuilder<Ti, S>
pub fn title<T>(self, title: T) -> WindowBuilder<T, S>
pub fn position(self, position: impl Into<ScreenPosition>) -> Self
pub fn inner_size<T>(self, inner_size: T) -> WindowBuilder<Ti, T>
pub fn style(self, style: impl Style) -> WindowBuilder<Ti, S>
pub fn visible(self, visibility: bool) -> WindowBuilder<Ti, S>
pub fn visible_ime_composition_window(
self,
show_ime_composition_window: bool
) -> WindowBuilder<Ti, S>
pub fn visible_ime_candidate_window(
self,
show_ime_cadidate_window: bool
) -> WindowBuilder<Ti, S>
pub fn parent(self, parent: &Window) -> WindowBuilder<Ti, S>
pub fn child(self, child: &Window) -> WindowBuilder<Ti, S>
pub fn children(self, children: &[&Window]) -> WindowBuilder<Ti, S>
pub fn accept_drag_files(self, enabled: bool) -> WindowBuilder<Ti, S>
pub fn icon(self, icon: Icon) -> WindowBuilder<Ti, S>
pub fn cursor(self, cursor: Cursor) -> WindowBuilder<Ti, S>
pub fn ime(self, enable: bool) -> WindowBuilder<Ti, S>
pub fn no_redirection_bitmap(self, enable: bool) -> WindowBuilder<Ti, S>
pub fn raw_input_window_state(self, state: WindowState) -> WindowBuilder<Ti, S>
Auto Trait Implementations
impl<Ti, S> RefUnwindSafe for WindowBuilder<Ti, S>where
S: RefUnwindSafe,
Ti: RefUnwindSafe,
impl<Ti, S> Send for WindowBuilder<Ti, S>where
S: Send,
Ti: Send,
impl<Ti, S> Sync for WindowBuilder<Ti, S>where
S: Sync,
Ti: Sync,
impl<Ti, S> Unpin for WindowBuilder<Ti, S>where
S: Unpin,
Ti: Unpin,
impl<Ti, S> UnwindSafe for WindowBuilder<Ti, S>where
S: UnwindSafe,
Ti: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more