pub struct InputTextImStr<'ui, 'p, L = String, H = String, T = PassthroughCallback> { /* private fields */ }Expand description
Builder for a text input backed by ImString (zero-copy)
Implementations§
Source§impl<'ui, 'p> InputTextImStr<'ui, 'p, String, String, PassthroughCallback>
impl<'ui, 'p> InputTextImStr<'ui, 'p, String, String, PassthroughCallback>
Source§impl<'ui, 'p, L: AsRef<str>, H: AsRef<str>, T> InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L: AsRef<str>, H: AsRef<str>, T> InputTextImStr<'ui, 'p, L, H, T>
pub fn flags(self, flags: InputTextFlags) -> Self
pub fn hint<H2: AsRef<str>>(self, hint: H2) -> InputTextImStr<'ui, 'p, L, H2, T>
pub fn read_only(self, ro: bool) -> Self
pub fn password(self, pw: bool) -> Self
pub fn auto_select_all(self, v: bool) -> Self
pub fn enter_returns_true(self, v: bool) -> Self
pub fn build(self) -> bool
Auto Trait Implementations§
impl<'ui, 'p, L, H, T> Freeze for InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L = String, H = String, T = PassthroughCallback> !RefUnwindSafe for InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L = String, H = String, T = PassthroughCallback> !Send for InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L = String, H = String, T = PassthroughCallback> !Sync for InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L, H, T> Unpin for InputTextImStr<'ui, 'p, L, H, T>
impl<'ui, 'p, L = String, H = String, T = PassthroughCallback> !UnwindSafe for InputTextImStr<'ui, 'p, L, H, T>
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