FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SourceRegistration

    struct · ferroui-markup-xaml · v0.5.0

    struct SourceRegistration
    

    Owns publication of one session's accepted documents. Scoped candidate sources always win. A document can belong to only one live session on this UI thread.

    View source

    Members

    new

    fn new(sources: &Rc<RefCell<Rc<Sources>>>) -> Result<Self, String>
    

    Source

    register_compiled_source

    fn register_compiled_source(self: &Self, uri: &str, source: &str)
    

    Keep the build baseline separate from accepted edits. A compiled template retained by application code still declares its original markup.

    Source

    check_document

    fn check_document(self: &Self, uri: &str) -> Result<(), String>
    

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

    Availability

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