[−][src]Struct native_windows_gui::HwndBuilder
Low level HWND builder. Instanced by ControlBase::build_hwnd.
Implementations
impl HwndBuilder[src]
pub fn class_name<'a>(mut self: Self, name: &'a str) -> HwndBuilder[src]
pub fn text<'a>(mut self: Self, text: &'a str) -> HwndBuilder[src]
pub fn size(mut self: Self, size: (i32, i32)) -> HwndBuilder[src]
pub fn position(mut self: Self, pos: (i32, i32)) -> HwndBuilder[src]
pub fn flags(mut self: Self, flags: u32) -> HwndBuilder[src]
pub fn ex_flags(mut self: Self, flags: u32) -> HwndBuilder[src]
pub fn forced_flags(mut self: Self, flags: u32) -> HwndBuilder[src]
pub fn parent(mut self: 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[src]
impl !Send for HwndBuilder[src]
impl !Sync for HwndBuilder[src]
impl Unpin for HwndBuilder[src]
impl UnwindSafe for HwndBuilder[src]
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,
pub 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.
pub 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>,