pub struct TimerBarComponent {
pub progress: f64,
pub visible: bool,
}Expand description
Countdown strip aligned with prompt text-entry width (text_entry(..).inner_width).
Fields§
§progress: f64§visible: boolImplementations§
Trait Implementations§
Source§impl Clone for TimerBarComponent
impl Clone for TimerBarComponent
Source§fn clone(&self) -> TimerBarComponent
fn clone(&self) -> TimerBarComponent
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 moreSource§impl Debug for TimerBarComponent
impl Debug for TimerBarComponent
Auto Trait Implementations§
impl Freeze for TimerBarComponent
impl RefUnwindSafe for TimerBarComponent
impl Send for TimerBarComponent
impl Sync for TimerBarComponent
impl Unpin for TimerBarComponent
impl UnsafeUnpin for TimerBarComponent
impl UnwindSafe for TimerBarComponent
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