[−][src]Struct native_windows_gui::TextInputBuilder
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]
self,
placeholder_text: Option<&'a str>
) -> TextInputBuilder<'a>
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]
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>,