FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialSnackbar

    struct · ferroui-themes-material · v0.5.0

    struct MaterialSnackbar
    

    The lookless visual for a snackbar. The host owns request lifetime; its template owns message wrapping, optional action/dismiss buttons, and single/two-row composition.

    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<MaterialSnackbar>
    

    Returns a strong reference to this object.

    Source

    message_property

    fn message_property() -> &'static StyledProperty<String>
    

    Source

    action_label_property

    fn action_label_property() -> &'static StyledProperty<Option<String>>
    

    Source

    with_dismiss_action_property

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

    Source

    action_on_new_line_property

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

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    message

    fn message(self: &Self) -> String
    

    Source

    set_message

    fn set_message(self: &Self, value: String)
    

    Source

    action_label

    fn action_label(self: &Self) -> Option<String>
    

    Source

    set_action_label

    fn set_action_label(self: &Self, value: Option<String>)
    

    Source

    with_dismiss_action

    fn with_dismiss_action(self: &Self) -> bool
    

    Source

    set_with_dismiss_action

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

    Source

    action_on_new_line

    fn action_on_new_line(self: &Self) -> bool
    

    Source

    set_action_on_new_line

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

    Source

    Trait implementations

    Availability

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