Struct native_windows_gui::TextBoxBuilder
source · [−]pub struct TextBoxBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> TextBoxBuilder<'a>
impl<'a> TextBoxBuilder<'a>
pub fn flags(self, flags: TextBoxFlags) -> TextBoxBuilder<'a>
pub fn ex_flags(self, flags: u32) -> TextBoxBuilder<'a>
pub fn text(self, text: &'a str) -> TextBoxBuilder<'a>
pub fn size(self, size: (i32, i32)) -> TextBoxBuilder<'a>
pub fn position(self, pos: (i32, i32)) -> TextBoxBuilder<'a>
pub fn limit(self, limit: usize) -> TextBoxBuilder<'a>
pub fn readonly(self, read: bool) -> TextBoxBuilder<'a>
pub fn focus(self, focus: bool) -> TextBoxBuilder<'a>
pub fn font(self, font: Option<&'a Font>) -> TextBoxBuilder<'a>
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> TextBoxBuilder<'a>
pub fn build(self, out: &mut TextBox) -> Result<(), NwgError>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more