MaterialSegmentedContent
struct · ferroui-themes-material · v0.5.0
struct MaterialSegmentedContent
Two-child layout: an 18 dp check, then the label. Its width always reserves the check and 8 dp gap. An unchecked label is centered by a 13 dp logical offset. Check removal is immediate; check entry has its own scale and opacity springs.
Members
TYPEto_refis_selected_propertymotion_scheme_propertyreduced_motion_propertylabel_progress_propertyicon_scale_propertyicon_opacity_propertyconstructnewis_selectedset_is_selectedmotion_schemeset_motion_schemereduced_motionset_reduced_motionlabel_progressicon_scaleicon_opacity
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialSegmentedContent>
Returns a strong reference to this object.
is_selected_property
fn is_selected_property() -> &'static StyledProperty<bool>
motion_scheme_property
fn motion_scheme_property() -> &'static StyledProperty<MaterialMotionScheme>
reduced_motion_property
fn reduced_motion_property() -> &'static StyledProperty<bool>
label_progress_property
fn label_progress_property() -> &'static DirectProperty<MaterialSegmentedContent, f64>
icon_scale_property
fn icon_scale_property() -> &'static DirectProperty<MaterialSegmentedContent, f64>
icon_opacity_property
fn icon_opacity_property() -> &'static DirectProperty<MaterialSegmentedContent, f64>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
is_selected
fn is_selected(self: &Self) -> bool
set_is_selected
fn set_is_selected(self: &Self, value: bool)
motion_scheme
fn motion_scheme(self: &Self) -> MaterialMotionScheme
set_motion_scheme
fn set_motion_scheme(self: &Self, value: MaterialMotionScheme)
reduced_motion
fn reduced_motion(self: &Self) -> bool
set_reduced_motion
fn set_reduced_motion(self: &Self, value: bool)
label_progress
fn label_progress(self: &Self) -> f64
icon_scale
fn icon_scale(self: &Self) -> f64
icon_opacity
fn icon_opacity(self: &Self) -> f64
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>ControlImplExtPanelImplExtDerefUpcast<T>Upcast<MaterialSegmentedContent>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplPanelImplFerroObjectImplVisualImplLayoutableImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.