FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FromXamlObject

    trait · ferroui-markup-xaml · v0.5.0

    trait FromXamlObject: Sized
    

    A type an untyped object can be tested for and viewed as: the T of the managed obj as T.

    Implemented for the handles of classes (Ref<T>, which also accepts handles of derived classes), for shared plain types (Rc<T>) and for the contracts the markup runtime looks for.

    View source

    Members

    from_xaml_object

    fn from_xaml_object(value: &BoxedValue) -> Option<Self>
    

    The object as a Self, if it is one.

    Source

    Trait implementations

    Availability

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