PropertyEditorMetadata
struct · ferroui-designer · v0.5.0
struct PropertyEditorMetadata
Members
kindsourcenullabledescriptionobject_sourceresourcesresource_ownersnamed_elementsbinding_extensionbinding_relative_sourcevalidate_literalcommitnewvalidateapply
kind
kind: PropertyEditorKind
source
source: PropertyValueSource
nullable
nullable: bool
description
description: Option<String>
object_source
object_source: Option<String>
Standalone XAML with inherited namespace declarations retained.
resources
resources: Vec<PropertyResourceChoice>
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).
named_elements
named_elements: Vec<String>
binding_extension
binding_extension: String
Qualified framework Binding extension in the target's namespace scope.
binding_relative_source
binding_relative_source: Option<String>
Independently resolved QName; a Binding CLR alias need not expose RelativeSource.
validate_literal
validate_literal: Option<PropertyLiteralValidator>
commit
commit: Option<PropertyValueCommit>
The host checks document/selection identity and permissions again on every call.
new
fn new(kind: PropertyEditorKind) -> Self
validate
fn validate(self: &Self, value: &str) -> Result<(), String>
apply
fn apply(self: &Self, context: &PropertyEditorContext, edit: PropertyValueEdit) -> Result<(), String>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherSameClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.