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]
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>,