FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BoolToOpacityConverter

    struct · ferroui-diagnostics · v0.5.0

    struct BoolToOpacityConverter
    

    Converts true to an opacity of 1 and anything else to opacity.

    View source

    Members

    new

    fn new() -> Rc<Self>
    

    Source

    opacity

    fn opacity(self: &Self) -> f64
    

    Source

    set_opacity

    fn set_opacity(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

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