Struct native_windows_gui::TextBoxBuilder[][src]

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

Implementations

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

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

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

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

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

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

pub fn limit(self, limit: usize) -> TextBoxBuilder<'a>[src]

pub fn readonly(self, read: bool) -> TextBoxBuilder<'a>[src]

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

pub fn font(self, font: Option<&'a Font>) -> TextBoxBuilder<'a>[src]

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for TextBoxBuilder<'a>

impl<'a> !Send for TextBoxBuilder<'a>

impl<'a> !Sync for TextBoxBuilder<'a>

impl<'a> Unpin for TextBoxBuilder<'a>

impl<'a> UnwindSafe for TextBoxBuilder<'a>

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.