本文へスキップ

ProgressView

確定または不確定のネイティブ SwiftUI 進捗インジケーターです。

#インポート

quickgui から SwiftUiProgressView をインポートします。

use quickgui::*;

#使い方

SwiftUiProgressView::new(1, 0.4, 1.0).label("Downloading")

#API リファレンス

項目を展開すると説明と完全なシグネチャが表示されます。ダッシュは宣言に既定値が記載されていないことを示します。

SwiftUiProgressView

ソースを見る
pub fn new(id: u64, value: f64, total: f64) -> Self
indeterminatepub fn indeterminate(id: u64) -> Self—

Configures indeterminate for this part.

pub 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>>) -> Self
ソースを見る
current_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>>) -> Self
ソースを見る
test_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>>) -> Self
ソースを見る
modifierpub fn modifier(mut self, modifier: SwiftUiModifier) -> Self—

Configures modifier for this part.

pub fn modifier(mut self, modifier: SwiftUiModifier) -> Self
ソースを見る
modifierspub 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>) -> Self
ソースを見る