[][src]Struct native_windows_gui::WindowBuilder

pub struct WindowBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> WindowBuilder<'a>[src]

pub fn flags(self, flags: WindowFlags) -> WindowBuilder<'a>[src]

pub fn ex_flags(self, flags: u32) -> WindowBuilder<'a>[src]

pub fn title(self, text: &'a str) -> WindowBuilder<'a>[src]

pub fn size(self, size: (i32, i32)) -> WindowBuilder<'a>[src]

pub fn position(self, pos: (i32, i32)) -> WindowBuilder<'a>[src]

pub fn icon(self, ico: Option<&'a Icon>) -> WindowBuilder<'a>[src]

pub fn accept_files(self, accept_files: bool) -> WindowBuilder<'a>[src]

pub fn topmost(self, topmost: bool) -> WindowBuilder<'a>[src]

pub fn parent<C: Into<ControlHandle>>(self, p: Option<C>) -> WindowBuilder<'a>[src]

pub fn build(self, out: &mut Window) -> Result<(), NwgError>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for WindowBuilder<'a>[src]

impl<'a> !Send for WindowBuilder<'a>[src]

impl<'a> !Sync for WindowBuilder<'a>[src]

impl<'a> Unpin for WindowBuilder<'a>[src]

impl<'a> UnwindSafe for WindowBuilder<'a>[src]

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.