FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyEditorMetadata

    struct · ferroui-designer · v0.5.0

    struct PropertyEditorMetadata
    

    View source

    Members

    kind

    kind: PropertyEditorKind
    

    Source

    source

    source: PropertyValueSource
    

    Source

    nullable

    nullable: bool
    

    Source

    description

    description: Option<String>
    

    Source

    object_source

    object_source: Option<String>
    

    Standalone XAML with inherited namespace declarations retained.

    Source

    resources

    resources: Vec<PropertyResourceChoice>
    

    Source

    resource_owners

    resource_owners: Vec<(ferroui_designer_core::NodeId, String)>
    

    Eligible resource owner scopes for extracting the accepted authored value. An empty list suppresses the command (for example for mixed/inherited values).

    Source

    named_elements

    named_elements: Vec<String>
    

    Source

    binding_extension

    binding_extension: String
    

    Qualified framework Binding extension in the target's namespace scope.

    Source

    binding_relative_source

    binding_relative_source: Option<String>
    

    Independently resolved QName; a Binding CLR alias need not expose RelativeSource.

    Source

    validate_literal

    validate_literal: Option<PropertyLiteralValidator>
    

    Source

    commit

    commit: Option<PropertyValueCommit>
    

    The host checks document/selection identity and permissions again on every call.

    Source

    new

    fn new(kind: PropertyEditorKind) -> Self
    

    Source

    validate

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

    Source

    apply

    fn apply(self: &Self, context: &PropertyEditorContext, edit: PropertyValueEdit) -> Result<(), String>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Same
    • Clone

    Availability

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