FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    new

    fn new(clipboard: &PropertyClipboard, preview: &PropertyPastePreview, writable: bool) -> Rc<Self>
    

    Source

    control

    fn control(self: &Self) -> Ref<Control>
    

    Source

    selected_properties

    fn selected_properties(self: &Self) -> Vec<String>
    

    Source

    select_property

    fn select_property(self: &Self, name: &str, selected: bool) -> Result<(), String>
    

    Source

    on_apply

    fn on_apply(self: &Self, callback: impl Fn(Vec<String>) -> Result<(), String> + 'static)
    

    Source

    on_close

    fn on_close(self: &Self, callback: impl Fn() -> () + 'static)
    

    Source

    apply

    fn apply(self: &Self) -> Result<(), String>
    

    Source

    show_error

    fn show_error(self: &Self, message: &str)
    

    Source

    cancel

    fn cancel(self: &Self)
    

    Source

    retire

    fn retire(self: &Self)
    

    Source

    Trait implementations

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

    Availability

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