FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ViewLink

    enum · ferroui-reactiveui-controls · v0.5.0

    enum ViewLink<C: ObjectType>
    

    How an adapter holds its control: strongly, for a view that is handed to others (a view a locator creates), or weakly, for the view a control uses for itself (its own activation), so that the control and its handlers do not keep each other alive.

    View source

    Members

    Strong

    Strong(ferroui_base::Ref<C>)
    

    A strong reference.

    Source

    Weak

    Weak(ferroui_base::WeakRef<C>)
    

    A weak reference.

    Source

    get

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

    The control, while it is alive.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone

    Availability

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