FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    styles_as_style

    function · ferroui-base · v0.5.0

    fn styles_as_style<T: ObjectType + Upcast<Styles>>(styles: &crate::Ref<T>) -> std::rc::Rc<dyn IStyle>
    

    Converts a handle of a styles collection (or a class derived from it) into a style handle.

    View source

    Availability

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