pub struct ScriptDialog(/* private fields */);
Implementations§
Source§impl ScriptDialog
impl ScriptDialog
pub fn confirm_set_confirmed(&self, confirmed: bool)
pub fn get_dialog_type(&self) -> ScriptDialogType
pub fn get_message(&self) -> &str
pub fn prompt_get_default_text(&self) -> &str
pub fn prompt_set_text(&self, text: &str)
Trait Implementations§
Source§impl Clone for ScriptDialog
impl Clone for ScriptDialog
Source§fn clone(&self) -> ScriptDialog
fn clone(&self) -> ScriptDialog
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ScriptDialog
impl RefUnwindSafe for ScriptDialog
impl !Send for ScriptDialog
impl !Sync for ScriptDialog
impl Unpin for ScriptDialog
impl UnwindSafe for ScriptDialog
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