Struct wita::WindowBuilder[][src]

pub struct WindowBuilder<Ti = (), S = ()> { /* fields omitted */ }

The object to build a window.

Implementations

impl WindowBuilder<(), ()>[src]

pub fn new() -> WindowBuilder<&'static str, LogicalSize<u32>>[src]

impl<Ti, S> WindowBuilder<Ti, S>[src]

pub fn title<T>(self, title: T) -> WindowBuilder<T, S>[src]

pub fn position(self, position: impl Into<ScreenPosition>) -> Self[src]

pub fn inner_size<T>(self, inner_size: T) -> WindowBuilder<Ti, T>[src]

pub fn style(self, style: impl Style) -> WindowBuilder<Ti, S>[src]

pub fn visible(self, visibility: bool) -> WindowBuilder<Ti, S>[src]

pub fn visible_ime_composition_window(
    self,
    show_ime_composition_window: bool
) -> WindowBuilder<Ti, S>
[src]

pub fn visible_ime_candidate_window(
    self,
    show_ime_cadidate_window: bool
) -> WindowBuilder<Ti, S>
[src]

pub fn parent(self, parent: &Window) -> WindowBuilder<Ti, S>[src]

pub fn child(self, child: &Window) -> WindowBuilder<Ti, S>[src]

pub fn children(self, children: &[&Window]) -> WindowBuilder<Ti, S>[src]

pub fn accept_drag_files(self, enabled: bool) -> WindowBuilder<Ti, S>[src]

pub fn icon(self, icon: Icon) -> WindowBuilder<Ti, S>[src]

pub fn ime(self, enable: bool) -> WindowBuilder<Ti, S>[src]

impl<Ti, S> WindowBuilder<Ti, S> where
    Ti: AsRef<str>,
    S: ToPhysicalSize<u32>, 
[src]

pub fn build(self) -> Result<Window, ApiError>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.