pub struct TextConfigBuilder { /* private fields */ }Implementations§
Source§impl TextConfigBuilder
impl TextConfigBuilder
pub const fn new() -> TextConfigBuilder
pub fn build(&self) -> TextConfig
pub fn input_type( self, input_type: InputMethod_TextInputType, ) -> TextConfigBuilder
pub fn enterkey_type( self, enterkey_type: InputMethod_EnterKeyType, ) -> TextConfigBuilder
pub fn preview_text_support( self, preview_text_support: bool, ) -> TextConfigBuilder
pub fn selection(self, selection: TextSelection) -> TextConfigBuilder
pub fn window_id(self, window_id: i32) -> TextConfigBuilder
Trait Implementations§
Source§impl Default for TextConfigBuilder
impl Default for TextConfigBuilder
Source§fn default() -> TextConfigBuilder
fn default() -> TextConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextConfigBuilder
impl RefUnwindSafe for TextConfigBuilder
impl Send for TextConfigBuilder
impl Sync for TextConfigBuilder
impl Unpin for TextConfigBuilder
impl UnsafeUnpin for TextConfigBuilder
impl UnwindSafe for TextConfigBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more