FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreviewSourceAnchor

    struct · ferroui-designer · v0.5.0

    struct PreviewSourceAnchor
    

    A namespace-qualified source path. No runtime or session-local numeric node ID is persisted. Named/keyed paths survive sibling insertion and reordering, while ambiguous unnamed siblings are rejected instead of guessing which view was meant.

    View source

    Members

    path

    path: Vec<PreviewSourceSegment>
    

    Source

    capture

    fn capture(document: &Document, node: NodeId) -> Result<Self, String>
    

    Source

    resolve

    fn resolve(self: &Self, document: &Document) -> Result<NodeId, String>
    

    Source

    validate

    fn validate(self: &Self) -> Result<(), 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
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • DeserializeOwned
    • ErasedDestructor
    • IntoEither
    • Same
    • TreeModel
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Serialize
    • Deserialize<'de>

    Availability

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