FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutEditPreview

    struct · ferroui-designer · v0.5.0

    struct LayoutEditPreview
    

    Immutable, validated authoring result paired with the geometry presented to the user. A rejected result still contains an explicit target and explanation for red feedback. The edit list is private: commit applies the exact accepted preview after checking its source, selection, permissions and provider identity again.

    View source

    Members

    helpers

    helpers: LayoutHelperSnapshot
    

    Source

    is_accepted

    fn is_accepted(self: &Self) -> bool
    

    Source

    rejection

    fn rejection(self: &Self) -> Option<&str>
    

    Source

    target

    fn target(self: &Self) -> NodeId
    

    Source

    description

    fn description(self: &Self) -> &str
    

    Source

    is_current

    fn is_current(self: &Self, session: &DesignerSession) -> bool
    

    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
    • Debug

    Availability

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