FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ValueEditor

    trait · ferroui-designer-tools · v0.5.0

    trait ValueEditor
    

    Property validation is independent of native editor widgets. A host can register a custom value editor first and use its ID to choose an associated native control factory.

    View source

    Members

    id

    fn id(self: &Self) -> &str
    

    Source

    supports

    fn supports(self: &Self, property: &PropertyDescriptor) -> bool
    

    Source

    validate

    fn validate(self: &Self, property: &PropertyDescriptor, value: &str) -> Result<()>
    

    Source

    Availability

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