FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlValue

    trait · ferroui-reactiveui · v0.5.0

    trait ControlValue: Clone + PartialEq + 'static
    

    The value of a property of a view that holds a control: an Rc of the control, or an Option of one. The control compares as its type does; a control that compares by identity reports each new control.

    View source

    Members

    Control

    type Control: 'static
    

    The type of the control (TControl).

    Source

    control

    fn control(self: &Self) -> Option<Rc<<Self as >::Control>>
    

    The control the property holds, if any.

    Source

    Trait implementations

    Availability

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