PropertyTransferEditor
struct · ferroui-designer · v0.5.0
struct PropertyTransferEditor
A native picker with fixed Apply/Cancel controls and an independently scrolling body. Compatible authored values are selected initially; every skipped value is explained.
Members
new
fn new(clipboard: &PropertyClipboard, preview: &PropertyPastePreview, writable: bool) -> Rc<Self>
control
fn control(self: &Self) -> Ref<Control>
selected_properties
fn selected_properties(self: &Self) -> Vec<String>
select_property
fn select_property(self: &Self, name: &str, selected: bool) -> Result<(), String>
on_apply
fn on_apply(self: &Self, callback: impl Fn(Vec<String>) -> Result<(), String> + 'static)
on_close
fn on_close(self: &Self, callback: impl Fn() -> () + 'static)
apply
fn apply(self: &Self) -> Result<(), String>
show_error
fn show_error(self: &Self, message: &str)
cancel
fn cancel(self: &Self)
retire
fn retire(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherSame
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.