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).
Members
new
fn new(control: Ref<V>) -> Rc<Self>
The view of control, which it keeps alive.
weak
fn weak(control: &Ref<V>) -> Rc<Self>
The view of control, which it does not keep alive.
control
fn control(self: &Self) -> Option<Ref<V>>
The control, while it is alive.
into_view_for_of
fn into_view_for_of(self: Rc<Self>) -> Rc<dyn IViewForOf<<V as >::ViewModel>>
The view as IViewFor<TViewModel>.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherIntoViewForIViewControlIActivatableViewIViewForIViewForOf<<V as IControlViewFor>::ViewModel>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.