[−][src]Struct native_windows_gui::HwndBuilder
Low level HWND builder. Instanced by ControlBase::build_hwnd.
Implementations
impl HwndBuilder[src]
pub fn class_name<'a>(self, name: &'a str) -> HwndBuilder[src]
pub fn text<'a>(self, text: &'a str) -> HwndBuilder[src]
pub fn size(self, size: (i32, i32)) -> HwndBuilder[src]
pub fn position(self, pos: (i32, i32)) -> HwndBuilder[src]
pub fn flags(self, flags: u32) -> HwndBuilder[src]
pub fn ex_flags(self, flags: u32) -> HwndBuilder[src]
pub fn forced_flags(self, flags: u32) -> HwndBuilder[src]
pub fn parent(self, parent: Option<ControlHandle>) -> HwndBuilder[src]
pub fn build(self) -> Result<ControlHandle, NwgError>[src]
Trait Implementations
impl Default for HwndBuilder[src]
fn default() -> HwndBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for HwndBuilder
impl !Send for HwndBuilder
impl !Sync for HwndBuilder
impl Unpin for HwndBuilder
impl UnwindSafe for HwndBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,