pub struct Model {
pub spinner: Spinner,
pub style: Style,
/* private fields */
}Expand description
Model contains the state for the spinner. Use new to create new models
rather than using Model as a struct literal.
Fields§
§spinner: SpinnerSpinner settings to use. See type Spinner.
style: StyleStyle sets the styling for the spinner. Most of the time you’ll just want foreground and background coloring, and potentially some padding.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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