[−][src]Struct native_windows_gui::TextInputBuilder
Implementations
impl<'a> TextInputBuilder<'a>[src]
pub fn flags(mut self: Self, flags: TextInputFlags) -> TextInputBuilder<'a>[src]
pub fn ex_flags(mut self: Self, flags: u32) -> TextInputBuilder<'a>[src]
pub fn text(mut self: Self, text: &'a str) -> TextInputBuilder<'a>[src]
pub fn placeholder_text(
mut self: Self,
placeholder_text: Option<&'a str>
) -> TextInputBuilder<'a>[src]
mut self: Self,
placeholder_text: Option<&'a str>
) -> TextInputBuilder<'a>
pub fn size(mut self: Self, size: (i32, i32)) -> TextInputBuilder<'a>[src]
pub fn position(mut self: Self, pos: (i32, i32)) -> TextInputBuilder<'a>[src]
pub fn limit(mut self: Self, limit: usize) -> TextInputBuilder<'a>[src]
pub fn password(mut self: Self, psw: Option<char>) -> TextInputBuilder<'a>[src]
pub fn align(mut self: Self, align: HTextAlign) -> TextInputBuilder<'a>[src]
pub fn readonly(mut self: Self, read: bool) -> TextInputBuilder<'a>[src]
pub fn font(mut self: Self, font: Option<&'a Font>) -> TextInputBuilder<'a>[src]
pub fn background_color(
mut self: Self,
color: Option<[u8; 3]>
) -> TextInputBuilder<'a>[src]
mut self: Self,
color: Option<[u8; 3]>
) -> TextInputBuilder<'a>
pub fn focus(mut self: Self, focus: bool) -> TextInputBuilder<'a>[src]
pub fn parent<C: Into<ControlHandle>>(
mut self: Self,
p: C
) -> TextInputBuilder<'a>[src]
mut self: Self,
p: C
) -> TextInputBuilder<'a>
pub fn build(self, out: &mut TextInput) -> Result<(), NwgError>[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextInputBuilder<'a>[src]
impl<'a> !Send for TextInputBuilder<'a>[src]
impl<'a> !Sync for TextInputBuilder<'a>[src]
impl<'a> Unpin for TextInputBuilder<'a>[src]
impl<'a> UnwindSafe for TextInputBuilder<'a>[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>,