ReflectionBindingExtension
struct · ferroui-markup-xaml · v0.5.0
struct ReflectionBindingExtension
{ReflectionBinding Path}: a binding whose path is resolved at run
time, as markup declares it. Providing its value creates the binding
with the context of the place it is declared in: the type resolver, the
default anchor and the name scope.
The managed class derives from the reflection binding class; here it
holds one (base) and dereferences to it, so the
inherited properties are read and set on the extension itself.
Members
new
fn new() -> Rc<Self>
with_path
fn with_path(path: &str) -> Rc<Self>
Creates the extension with a path.
base
fn base(self: &Self) -> &Rc<ReflectionBinding>
The reflection binding this extension is (the base class part).
provide_value
fn provide_value(self: &Self, service_provider: &Rc<dyn IServiceProvider>) -> Rc<ReflectionBinding>
Creates the binding the extension describes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyAnyValueClassDefaultsErasedDestructorIntoEitherDerefBindingBasePartialEqMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.