FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ResolveByNameExtension

    struct · ferroui-markup-xaml · v0.5.0

    struct ResolveByNameExtension
    

    Resolves a named control of the name scope: what text assigned to a property marked as resolved by name stands for.

    View source

    Members

    new

    fn new(name: &str) -> Rc<Self>
    

    Source

    name

    fn name(self: &Self) -> &str
    

    Source

    provide_value

    fn provide_value(self: &Self, service_provider: &Rc<dyn IServiceProvider>) -> Option<BoxedValue>
    

    The named control; null (None) without a name scope; the unset value marker if the name is not registered yet, in which case the target property is set once it is.

    Source

    Trait implementations

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

    Availability

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