pub struct TextAsk {
pub prompt: String,
pub text: String,
pub max_chars: u16,
}Expand description
What a text box asks the system keyboard for.
Fields§
§prompt: StringWhat the text is for, shown with the keyboard (“Name”), already in the player’s language.
text: StringThe text so far, which the player starts from.
max_chars: u16The most characters the box takes.
Trait Implementations§
impl Eq for TextAsk
impl StructuralPartialEq for TextAsk
Auto Trait Implementations§
impl Freeze for TextAsk
impl RefUnwindSafe for TextAsk
impl Send for TextAsk
impl Sync for TextAsk
impl Unpin for TextAsk
impl UnsafeUnpin for TextAsk
impl UnwindSafe for TextAsk
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