FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MergeResourceInclude

    struct · ferroui-markup-xaml · v0.5.0

    struct MergeResourceInclude
    

    Loads a resource dictionary from a specified URL.

    When used in runtime, this type behaves like ResourceInclude. But when the XAML compiler sees it in the merged dictionaries of a resource dictionary, it merges the included document into the including one at compile time, which makes the lookup of its resources cheaper.

    The managed class derives from ResourceInclude and adds nothing; here it holds one and dereferences to it.

    View source

    Members

    new

    fn new(base_uri: Option<url::Url>) -> Rc<Self>
    

    Source

    with_service_provider

    fn with_service_provider(service_provider: Rc<dyn IServiceProvider>) -> Rc<Self>
    

    Source

    base

    fn base(self: &Self) -> &Rc<ResourceInclude>
    

    The include this one is (the base class part).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Deref
    • PartialEq
    • MarkupTyped

    Availability

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