pub struct Spinner {
pub frames: &'static [&'static str],
pub interval: f64,
pub text: String,
pub style: Style,
}Expand description
An animated spinner renderable.
Fields§
§frames: &'static [&'static str]§interval: f64§text: StringText displayed alongside the spinner.
style: StyleStyle for the spinner.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spinner
impl RefUnwindSafe for Spinner
impl Send for Spinner
impl Sync for Spinner
impl Unpin for Spinner
impl UnsafeUnpin for Spinner
impl UnwindSafe for Spinner
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