MaterialLoadingIndicator
struct · ferroui-themes-material · v0.5.0
struct MaterialLoadingIndicator
A Material loading indicator with native 48dp container and 38dp active size.
Value, Minimum, Maximum, and range accessibility come from RangeBase;
Percentage provides a convenient 0–100 alias independent of that range.
Members
TYPEto_refpercentage_propertyis_indeterminate_propertyreduced_motion_propertyactive_brush_propertycontainer_brush_propertyconstructnewpercentageset_percentageis_indeterminateset_is_indeterminatereduced_motionset_reduced_motionactive_brushset_active_brushcontainer_brushset_container_brush
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialLoadingIndicator>
Returns a strong reference to this object.
percentage_property
fn percentage_property() -> &'static DirectProperty<MaterialLoadingIndicator, f64>
is_indeterminate_property
fn is_indeterminate_property() -> &'static StyledProperty<bool>
reduced_motion_property
fn reduced_motion_property() -> &'static StyledProperty<bool>
active_brush_property
fn active_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
container_brush_property
fn container_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
percentage
fn percentage(self: &Self) -> f64
set_percentage
fn set_percentage(self: &Self, value: f64)
is_indeterminate
fn is_indeterminate(self: &Self) -> bool
set_is_indeterminate
fn set_is_indeterminate(self: &Self, value: bool)
reduced_motion
fn reduced_motion(self: &Self) -> bool
set_reduced_motion
fn set_reduced_motion(self: &Self, value: bool)
active_brush
fn active_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_active_brush
fn set_active_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
container_brush
fn container_brush(self: &Self) -> Option<Rc<dyn IBrush>>
set_container_brush
fn set_container_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>TemplatedControlImplExtControlImplExtDerefUpcast<T>Upcast<MaterialLoadingIndicator>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplTemplatedControlImplControlImplFerroObjectImplLayoutableImplVisualImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.