FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    use_signal

    function · ferroui-view · v0.5.0

    fn use_signal<T: 'static>(init: impl FnOnce() -> T) -> crate::reactive::Signal<T>
    

    A signal that holds init() on the first run and is kept across runs.

    View source

    Availability

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