Skip to main content

ResourceProviderImplExt

Trait ResourceProviderImplExt 

Source
pub trait ResourceProviderImplExt: ResourceProviderImpl {
    // Provided methods
    fn parent_has_resources(this: &Self) -> bool { ... }
    fn parent_try_get_resource(
        this: &Self,
        key: &ResourceKey,
        theme: Option<&ThemeVariant>,
    ) -> Option<ResourceValue> { ... }
    fn parent_on_add_owner(this: &Self, owner: &ResourceHostRef) { ... }
    fn parent_on_remove_owner(this: &Self, owner: &ResourceHostRef) { ... }
}
Expand description

Access to the base implementations of the overridable members.

Provided Methods§

Source

fn parent_has_resources(this: &Self) -> bool

Calls the base class implementation of the member.

Source

fn parent_try_get_resource( this: &Self, key: &ResourceKey, theme: Option<&ThemeVariant>, ) -> Option<ResourceValue>

Calls the base class implementation of the member.

Source

fn parent_on_add_owner(this: &Self, owner: &ResourceHostRef)

Calls the base class implementation of the member.

Source

fn parent_on_remove_owner(this: &Self, owner: &ResourceHostRef)

Calls the base class implementation of the member.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§