MaterialProgressIndicator
struct · ferroui-themes-material · v0.5.0
struct MaterialProgressIndicator
Renderer used by the Material ProgressBar control themes. The enclosing ProgressBar owns range semantics and automation; this noninteractive visual consumes its percentage and state without changing that control's behavior.
Members
TYPEto_refpercentage_propertyis_indeterminate_propertyis_circular_propertyis_wavy_propertyshow_stop_indicator_propertyreduced_motion_propertyorientation_propertystroke_thickness_propertygap_size_propertyactive_brush_propertytrack_brush_propertyconstructnewpercentageset_percentageis_indeterminateset_is_indeterminateis_circularset_is_circularis_wavyset_is_wavyshow_stop_indicatorset_show_stop_indicatorreduced_motionset_reduced_motionorientationset_orientationstroke_thicknessset_stroke_thicknessgap_sizeset_gap_sizeactive_brushset_active_brushtrack_brushset_track_brush
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialProgressIndicator>
Returns a strong reference to this object.
percentage_property
fn percentage_property() -> &'static StyledProperty<f64>
Progress percentage, clamped to 0–100 when rendered.
is_indeterminate_property
fn is_indeterminate_property() -> &'static StyledProperty<bool>
Whether progress is unknown.
is_circular_property
fn is_circular_property() -> &'static StyledProperty<bool>
Use a circular rather than linear indicator.
is_wavy_property
fn is_wavy_property() -> &'static StyledProperty<bool>
Use the expressive wave form.
show_stop_indicator_property
fn show_stop_indicator_property() -> &'static StyledProperty<bool>
Draw the required terminal stop dot on a linear determinate track.
reduced_motion_property
fn reduced_motion_property() -> &'static StyledProperty<bool>
Stop all continuous animation and display a static indeterminate state.
orientation_property
fn orientation_property() -> &'static StyledProperty<Orientation>
Direction of the linear indicator.
stroke_thickness_property
fn stroke_thickness_property() -> &'static StyledProperty<f64>
Thickness of the active and inactive strokes in device independent pixels.
gap_size_property
fn gap_size_property() -> &'static StyledProperty<f64>
Visible space between the active and inactive tracks.
active_brush_property
fn active_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
Active indicator brush.
track_brush_property
fn track_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
Inactive track brush.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
percentage
fn percentage(self: &Self) -> f64
Progress percentage, clamped to 0–100 when rendered.
set_percentage
fn set_percentage(self: &Self, value: f64)
is_indeterminate
fn is_indeterminate(self: &Self) -> bool
Whether progress is unknown.
set_is_indeterminate
fn set_is_indeterminate(self: &Self, value: bool)
is_circular
fn is_circular(self: &Self) -> bool
Use a circular rather than linear indicator.
set_is_circular
fn set_is_circular(self: &Self, value: bool)
is_wavy
fn is_wavy(self: &Self) -> bool
Use the expressive wave form.
set_is_wavy
fn set_is_wavy(self: &Self, value: bool)
show_stop_indicator
fn show_stop_indicator(self: &Self) -> bool
Draw the required terminal stop dot on a linear determinate track.
set_show_stop_indicator
fn set_show_stop_indicator(self: &Self, value: bool)
reduced_motion
fn reduced_motion(self: &Self) -> bool
Stop all continuous animation and display a static indeterminate state.
set_reduced_motion
fn set_reduced_motion(self: &Self, value: bool)
orientation
fn orientation(self: &Self) -> Orientation
Direction of the linear indicator.
set_orientation
fn set_orientation(self: &Self, value: Orientation)
stroke_thickness
fn stroke_thickness(self: &Self) -> f64
Thickness of the active and inactive strokes in device independent pixels.
set_stroke_thickness
fn set_stroke_thickness(self: &Self, value: f64)
gap_size
fn gap_size(self: &Self) -> f64
Visible space between the active and inactive tracks.
set_gap_size
fn set_gap_size(self: &Self, value: f64)
active_brush
fn active_brush(self: &Self) -> Option<Rc<dyn IBrush>>
Active indicator brush.
set_active_brush
fn set_active_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
track_brush
fn track_brush(self: &Self) -> Option<Rc<dyn IBrush>>
Inactive track brush.
set_track_brush
fn set_track_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>ControlImplExtDerefUpcast<T>Upcast<MaterialProgressIndicator>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplFerroObjectImplLayoutableImplVisualImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.