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.
Members
new
fn new(sources: &Rc<RefCell<Rc<Sources>>>) -> Result<Self, String>
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.
check_document
fn check_document(self: &Self, uri: &str) -> Result<(), String>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.