Struct rat_input::msgdialog::MsgDialogState
source · pub struct MsgDialogState {
pub active: bool,
pub area: Rect,
pub message: String,
pub button: ButtonState,
pub non_exhaustive: NonExhaustive,
}Expand description
State for the status dialog.
Fields§
§active: bool§area: Rect§message: String§non_exhaustive: NonExhaustiveImplementations§
Trait Implementations§
source§impl Debug for MsgDialogState
impl Debug for MsgDialogState
source§impl Default for MsgDialogState
impl Default for MsgDialogState
Auto Trait Implementations§
impl Freeze for MsgDialogState
impl RefUnwindSafe for MsgDialogState
impl Send for MsgDialogState
impl Sync for MsgDialogState
impl Unpin for MsgDialogState
impl UnwindSafe for MsgDialogState
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more