IControlViewFor
trait · ferroui-reactiveui-controls · v0.5.0
trait IControlViewFor: ObjectType + Upcast<ferroui_controls::Control>
A control class that is a view of the view model type ViewModel (a control that implements
IViewFor<TViewModel> upstream, with a plain ViewModel property).
Members
ViewModel
type ViewModel: PartialEq + 'static
The type of the view model.
view_model_of
fn view_model_of(self: &Self) -> Option<Rc<<Self as >::ViewModel>>
The view model (ViewModel { get; }).
set_view_model_of
fn set_view_model_of(self: &Self, view_model: Option<Rc<<Self as >::ViewModel>>)
Sets the view model (ViewModel { set; }).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.