FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SharedEdit

    enum · ferroui-designer-collaboration · v0.5.0

    enum SharedEdit
    

    Each operation is one atomic transaction. A source replacement is compare-and-set: it is never allowed to silently erase unrelated concurrent edits. Structural commands use the source-preserving AST engine and are re-evaluated after out-of-order delivery.

    View source

    Members

    SetAttribute

    SetAttribute { node: SharedNodeId, name: String, value: String }
    

    Source

    RemoveAttribute

    RemoveAttribute { node: SharedNodeId, name: String }
    

    Source

    UndoAttribute

    UndoAttribute { node: SharedNodeId, name: String, expected_writer: OperationId, value: Option<String> }
    

    Compensate only if the named operation still owns this property at replay time. Operation identity matters even when another writer chose the same value.

    Source

    InsertChild

    InsertChild { parent: SharedNodeId, index: usize, source: String }
    

    Source

    RemoveNode

    RemoveNode { node: SharedNodeId }
    

    Source

    MoveNode

    MoveNode { node: SharedNodeId, parent: SharedNodeId, index: usize }
    

    Source

    ReplaceSource

    ReplaceSource { expected_source: String, source: String }
    

    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
    • DeserializeOwned
    • Same
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Serialize
    • Deserialize<'de>

    Availability

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