MaterialExtendedFabLayout
struct · ferroui-themes-material · v0.5.0
struct MaterialExtendedFabLayout
Two-child layout used by the extended-FAB template: icon first, label second. It measures the expanded label at full available width while reporting an interpolated width. The container's rounded trailing edge therefore follows the animation naturally.
Members
TYPEto_refis_expanded_propertysize_variant_propertymotion_scheme_propertyreduced_motion_propertyexpansion_progress_propertylabel_opacity_propertyconstructnewis_expandedset_is_expandedsize_variantset_size_variantmotion_schemeset_motion_schemereduced_motionset_reduced_motionexpansion_progresslabel_opacity
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialExtendedFabLayout>
Returns a strong reference to this object.
is_expanded_property
fn is_expanded_property() -> &'static StyledProperty<bool>
size_variant_property
fn size_variant_property() -> &'static StyledProperty<MaterialExtendedFabSize>
motion_scheme_property
fn motion_scheme_property() -> &'static StyledProperty<MaterialMotionScheme>
reduced_motion_property
fn reduced_motion_property() -> &'static StyledProperty<bool>
expansion_progress_property
fn expansion_progress_property() -> &'static DirectProperty<MaterialExtendedFabLayout, f64>
label_opacity_property
fn label_opacity_property() -> &'static DirectProperty<MaterialExtendedFabLayout, f64>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
is_expanded
fn is_expanded(self: &Self) -> bool
set_is_expanded
fn set_is_expanded(self: &Self, value: bool)
size_variant
fn size_variant(self: &Self) -> MaterialExtendedFabSize
set_size_variant
fn set_size_variant(self: &Self, value: MaterialExtendedFabSize)
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)
expansion_progress
fn expansion_progress(self: &Self) -> f64
label_opacity
fn label_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<MaterialExtendedFabLayout>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplPanelImplFerroObjectImplVisualImplLayoutableImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.