ProgressView
A determinate or indeterminate native SwiftUI progress indicator.
#Import
Import SwiftUiProgressView from quickgui.
use quickgui::*;#Usage
SwiftUiProgressView::new(1, 0.4, 1.0).label("Downloading")#API reference
Expand an entry for its description and complete signature. A dash means no declaration default is documented.
SwiftUiProgressView
View sourcepub fn new(id: u64, value: f64, total: f64) -> Selfindeterminatepub fn indeterminate(id: u64) -> Self—
labelpub fn label(mut self, label: impl Into<Arc<str>>) -> Self—
Configures label for this part.
pub fn label(mut self, label: impl Into<Arc<str>>) -> SelfView sourcecurrent_value_labelpub fn current_value_label(mut self, label: impl Into<Arc<str>>) -> Self—
Configures current value label for this part.
pub fn current_value_label(mut self, label: impl Into<Arc<str>>) -> SelfView sourcetest_idpub fn test_id(mut self, test_id: impl Into<Arc<str>>) -> Self—
Configures test id for this part.
pub fn test_id(mut self, test_id: impl Into<Arc<str>>) -> SelfView sourcemodifierpub fn modifier(mut self, modifier: SwiftUiModifier) -> Self—
Configures modifier for this part.
pub fn modifier(mut self, modifier: SwiftUiModifier) -> SelfView sourcemodifierspub fn modifiers(mut self, modifiers: impl IntoIterator<Item = SwiftUiModifier>) -> Self—
Configures modifiers for this part.
pub fn modifiers(mut self, modifiers: impl IntoIterator<Item = SwiftUiModifier>) -> SelfView source