FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlViewFor

    struct · ferroui-reactiveui-controls · v0.5.0

    struct ControlViewFor<V: IControlViewFor>
    

    A control of a class that implements IControlViewFor, as a view of ReactiveUI (IViewFor<TViewModel> on the control).

    View source

    Members

    new

    fn new(control: Ref<V>) -> Rc<Self>
    

    The view of control, which it keeps alive.

    Source

    weak

    fn weak(control: &Ref<V>) -> Rc<Self>
    

    The view of control, which it does not keep alive.

    Source

    control

    fn control(self: &Self) -> Option<Ref<V>>
    

    The control, while it is alive.

    Source

    into_view_for_of

    fn into_view_for_of(self: Rc<Self>) -> Rc<dyn IViewForOf<<V as >::ViewModel>>
    

    The view as IViewFor<TViewModel>.

    Source

    Trait implementations

    Availability

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