pub enum ProgressStyle {
Automatic,
Circular,
Linear,
}Expand description
Which ProgressViewStyle to apply.
Each case is a distinct Swift type with its own conformance, which is why the modifier is generic in Swift and takes a value here.
Variants§
Automatic
.automatic — DefaultProgressViewStyle.
Circular
.circular — a spinner.
Linear
.linear — a bar.
Trait Implementations§
Source§impl Clone for ProgressStyle
impl Clone for ProgressStyle
impl Copy for ProgressStyle
Source§impl Debug for ProgressStyle
impl Debug for ProgressStyle
impl Eq for ProgressStyle
Source§impl From<Automatic> for ProgressStyle
impl From<Automatic> for ProgressStyle
Source§impl From<Circular> for ProgressStyle
impl From<Circular> for ProgressStyle
Source§impl From<Linear> for ProgressStyle
impl From<Linear> for ProgressStyle
Source§impl PartialEq for ProgressStyle
impl PartialEq for ProgressStyle
impl StructuralPartialEq for ProgressStyle
Auto Trait Implementations§
impl Freeze for ProgressStyle
impl RefUnwindSafe for ProgressStyle
impl Send for ProgressStyle
impl Sync for ProgressStyle
impl Unpin for ProgressStyle
impl UnsafeUnpin for ProgressStyle
impl UnwindSafe for ProgressStyle
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