pub struct Frames {
pub glyphs: Vec<String>,
pub step: Duration,
pub style: Option<Style>,
}Expand description
Glyphs shown in turn, a step each: Frames::new(&["⠋", "⠙", "⠹", "⠸"]).
Fields§
§glyphs: Vec<String>§step: Duration§style: Option<Style>The style; the theme’s accent when unset.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frames
impl RefUnwindSafe for Frames
impl Send for Frames
impl Sync for Frames
impl Unpin for Frames
impl UnsafeUnpin for Frames
impl UnwindSafe for Frames
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