pub struct UiCallbacks;Expand description
Implementation of age callbacks that makes requests to the user via the UI.
Trait Implementations§
Source§impl Callbacks for UiCallbacks
impl Callbacks for UiCallbacks
Source§fn display_message(&self, message: &str)
fn display_message(&self, message: &str)
Shows a message to the user. Read more
Source§fn confirm(
&self,
message: &str,
yes_string: &str,
no_string: Option<&str>,
) -> Option<bool>
fn confirm( &self, message: &str, yes_string: &str, no_string: Option<&str>, ) -> Option<bool>
Requests that the user provides confirmation for some action. Read more
Source§impl Clone for UiCallbacks
impl Clone for UiCallbacks
Source§fn clone(&self) -> UiCallbacks
fn clone(&self) -> UiCallbacks
Returns a duplicate 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 moreimpl Copy for UiCallbacks
Auto Trait Implementations§
impl Freeze for UiCallbacks
impl RefUnwindSafe for UiCallbacks
impl Send for UiCallbacks
impl Sync for UiCallbacks
impl Unpin for UiCallbacks
impl UnwindSafe for UiCallbacks
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