[][src]Struct native_windows_gui::TextInputBuilder

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

Implementations

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

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

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

pub fn placeholder_text(
    self,
    placeholder_text: Option<&'a str>
) -> TextInputBuilder<'a>
[src]

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

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

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

pub fn password(self, psw: Option<char>) -> TextInputBuilder<'a>[src]

pub fn align(self, align: HTextAlign) -> TextInputBuilder<'a>[src]

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

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

pub fn background_color(self, color: Option<[u8; 3]>) -> TextInputBuilder<'a>[src]

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for TextInputBuilder<'a>

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

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

impl<'a> Unpin for TextInputBuilder<'a>

impl<'a> UnwindSafe for TextInputBuilder<'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.