FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NodeRef

    struct · ferroui-view · v0.5.0

    struct NodeRef<T: ObjectType>
    

    The control an element made, once it is mounted (see El::node_ref). Copy; reading it is reactive.

    View source

    Members

    new

    fn new() -> Self
    

    A reference with no control yet, owned by the current owner.

    Source

    get

    fn get(self: &Self) -> Option<Ref<T>>
    

    The control, once mounted.

    Source

    get_untracked

    fn get_untracked(self: &Self) -> Option<Ref<T>>
    

    The control without recording the read.

    Source

    Trait implementations

    Availability

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