FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SetterViewModelRef

    enum · ferroui-diagnostics · v0.5.0

    enum SetterViewModelRef
    

    The shared handle of a setter view model of any of the classes SetterViewModel, BindingSetterViewModel and ResourceSetterViewModel: a reference typed with the base class. It dereferences to the base class and dispatches the virtual member.

    View source

    Members

    Setter

    Setter(std::rc::Rc<SetterViewModel>)
    

    Source

    Binding

    Binding(std::rc::Rc<super::BindingSetterViewModel>)
    

    Source

    Resource

    Resource(std::rc::Rc<super::ResourceSetterViewModel>)
    

    Source

    copy_value

    fn copy_value(self: &Self)
    

    The virtual CopyValue.

    Source

    boxed

    fn boxed(self: &Self) -> BoxedValue
    

    The setter as an untyped value of its class (what a list of the setters holds for the data templates that choose by the class).

    Source

    from_boxed

    fn from_boxed(value: &BoxedValue) -> Option<Self>
    

    The setter of an untyped value of one of the classes (DataContext as SetterViewModel).

    Source

    Trait implementations

    Availability

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