pub struct TuiGuard;Expand description
Create a guard that automatically sets TUI active/inactive
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TuiGuard
impl RefUnwindSafe for TuiGuard
impl Send for TuiGuard
impl Sync for TuiGuard
impl Unpin for TuiGuard
impl UnwindSafe for TuiGuard
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> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter