pub struct Editbox<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Editbox<'a>
impl<'a> Editbox<'a>
pub fn new(id: Id, size: Vec2) -> Editbox<'a>
pub fn multiline(self, multiline: bool) -> Self
pub fn select_all(self) -> Self
pub fn position(self, pos: Vec2) -> Self
pub fn password(self, password: bool) -> Self
pub fn filter<'b>(self, filter: &'b dyn Fn(char) -> bool) -> Editbox<'b>
pub fn ui(self, ui: &mut Ui, text: &mut String) -> bool
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Editbox<'a>
impl<'a> !Send for Editbox<'a>
impl<'a> !Sync for Editbox<'a>
impl<'a> Unpin for Editbox<'a>
impl<'a> !UnwindSafe for Editbox<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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