FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyKind

    trait · ferroui-base · v0.5.0

    trait PropertyKind: 'static
    

    States how the typed value of a property maps to the untyped values that flow through a binding.

    View source

    Members

    Typed

    type Typed
    

    The type the property's accessors work with.

    Source

    value_type

    fn value_type() -> ValueType
    

    The value type reported for the property.

    Source

    register

    fn register()
    

    Called once when a property of this kind is described.

    Source

    to_untyped

    fn to_untyped(value: <Self as >::Typed) -> Option<BoxedValue>
    

    Source

    from_untyped

    fn from_untyped(value: Option<&BoxedValue>) -> Option<<Self as >::Typed>
    

    Source

    Trait implementations

    Availability

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