Struct terminal_spinners::SpinnerData [−][src]
Expand description
Data related to a spinner.
Each spinner consists of a number of frames and an interval. The interval is used for animation and should be the amount of milliseconds between each frame.
Frames are cycled through, meaning that if you reach the last element inside the frames’ array, you should wrap around and start again at the beginning.
Fields
frames: &'a [&'a str]
interval: u64
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SpinnerData<'a>
impl<'a> Send for SpinnerData<'a>
impl<'a> Sync for SpinnerData<'a>
impl<'a> Unpin for SpinnerData<'a>
impl<'a> UnwindSafe for SpinnerData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more