Struct rat_widget::msgdialog::MsgDialog
source · pub struct MsgDialog { /* private fields */ }Expand description
Basic status dialog for longer messages.
Implementations§
Trait Implementations§
source§impl StatefulWidget for MsgDialog
impl StatefulWidget for MsgDialog
§type State = MsgDialogState
type State = MsgDialogState
State associated with the stateful widget. Read more
source§impl StatefulWidgetRef for MsgDialog
impl StatefulWidgetRef for MsgDialog
§type State = MsgDialogState
type State = MsgDialogState
State associated with the stateful widget. Read more
source§fn render_ref(
&self,
area: Rect,
buf: &mut Buffer,
state: &mut <MsgDialog as StatefulWidgetRef>::State,
)
fn render_ref( &self, area: Rect, buf: &mut Buffer, state: &mut <MsgDialog as StatefulWidgetRef>::State, )
Draws the current state of the widget in the given buffer. That is the only method required
to implement a custom stateful widget.
Auto Trait Implementations§
impl Freeze for MsgDialog
impl RefUnwindSafe for MsgDialog
impl Send for MsgDialog
impl Sync for MsgDialog
impl Unpin for MsgDialog
impl UnwindSafe for MsgDialog
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