FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    style

    function · ferroui-view · v0.5.0

    fn style(selector: &str) -> StyleBuilder
    

    A style of the selector selector, in the syntax of XAML (Button, Button.accent, StackPanel > TextBlock, :pointerover, ^.selected in a nested style). Type names are the classes of FerroUI.Base and FerroUI.Controls and of the crates that registered their types.

    Panics

    Panics with the message of the parser when the selector does not parse.

    View source

    Availability

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