PropertyRegistry
struct · ferroui-designer-tools · v0.5.0
struct PropertyRegistry
Members
new
fn new() -> Self
built_in
fn built_in() -> Self
register
fn register(self: &mut Self, owner: impl Into<String>, property: PropertyDescriptor) -> Option<PropertyDescriptor>
Use "*" for common properties and "@PanelType" for child attached properties.
descriptors
fn descriptors(self: &Self, document: &Document, node: NodeId) -> Result<Vec<PropertyDescriptor>>
state
fn state(self: &Self, document: &Document, nodes: &[NodeId], property: &str) -> Result<PropertyState>
plan
fn plan(self: &Self, document: &Document, nodes: &[NodeId], property: &str, value: Option<&str>, policy: ExpressionPolicy) -> Result<Vec<Edit>>
plan_with
fn plan_with(self: &Self, document: &Document, nodes: &[NodeId], property: &str, value: Option<&str>, policy: ExpressionPolicy, editors: &EditorRegistry) -> Result<Vec<Edit>>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.