FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<MaterialExtendedFabLayout>
    

    Returns a strong reference to this object.

    Source

    is_expanded_property

    fn is_expanded_property() -> &'static StyledProperty<bool>
    

    Source

    size_variant_property

    fn size_variant_property() -> &'static StyledProperty<MaterialExtendedFabSize>
    

    Source

    motion_scheme_property

    fn motion_scheme_property() -> &'static StyledProperty<MaterialMotionScheme>
    

    Source

    reduced_motion_property

    fn reduced_motion_property() -> &'static StyledProperty<bool>
    

    Source

    expansion_progress_property

    fn expansion_progress_property() -> &'static DirectProperty<MaterialExtendedFabLayout, f64>
    

    Source

    label_opacity_property

    fn label_opacity_property() -> &'static DirectProperty<MaterialExtendedFabLayout, f64>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    is_expanded

    fn is_expanded(self: &Self) -> bool
    

    Source

    set_is_expanded

    fn set_is_expanded(self: &Self, value: bool)
    

    Source

    size_variant

    fn size_variant(self: &Self) -> MaterialExtendedFabSize
    

    Source

    set_size_variant

    fn set_size_variant(self: &Self, value: MaterialExtendedFabSize)
    

    Source

    motion_scheme

    fn motion_scheme(self: &Self) -> MaterialMotionScheme
    

    Source

    set_motion_scheme

    fn set_motion_scheme(self: &Self, value: MaterialMotionScheme)
    

    Source

    reduced_motion

    fn reduced_motion(self: &Self) -> bool
    

    Source

    set_reduced_motion

    fn set_reduced_motion(self: &Self, value: bool)
    

    Source

    expansion_progress

    fn expansion_progress(self: &Self) -> f64
    

    Source

    label_opacity

    fn label_opacity(self: &Self) -> f64
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.