FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ModelProperty

    struct · ferroui-build · v0.5.0

    struct ModelProperty
    

    A property: a plain property of the model, or a registered property projected as a property with accessors.

    View source

    Members

    registered

    fn registered(self: &Self) -> Option<(&str, &str)>
    

    The registered property this property is the projection of: the path of the type whose ferro_properties! block has the accessor, and the accessor.

    Source

    getter_method

    fn getter_method(self: &Self) -> Option<&Rc<ModelMethod>>
    

    Source

    setter_method

    fn setter_method(self: &Self) -> Option<&Rc<ModelMethod>>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IXamlMember
    • IXamlProperty

    Availability

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